pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-lib3to6



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Nov  4 15:52:35 UTC 2023

Added Files:
        pkgsrc/devel/py-lib3to6: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
devel/py-lib3to6: import py-lib3to6-202107.1047

Compile Python 3.6+ code to Python 2.7+ compatible code. The idea
is quite similar to Babel. Develop using the newest interpreter
and use (most) new language features and still maintain backward
compatibility.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-lib3to6/ALTERNATIVES \
    pkgsrc/devel/py-lib3to6/DESCR pkgsrc/devel/py-lib3to6/Makefile \
    pkgsrc/devel/py-lib3to6/PLIST pkgsrc/devel/py-lib3to6/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-lib3to6/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-lib3to6/ALTERNATIVES:1.1
--- /dev/null   Sat Nov  4 15:52:35 2023
+++ pkgsrc/devel/py-lib3to6/ALTERNATIVES        Sat Nov  4 15:52:35 2023
@@ -0,0 +1 @@
+bin/lib3to6 @PREFIX@/bin/lib3to6-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-lib3to6/DESCR
diff -u /dev/null pkgsrc/devel/py-lib3to6/DESCR:1.1
--- /dev/null   Sat Nov  4 15:52:35 2023
+++ pkgsrc/devel/py-lib3to6/DESCR       Sat Nov  4 15:52:35 2023
@@ -0,0 +1,4 @@
+Compile Python 3.6+ code to Python 2.7+ compatible code. The idea
+is quite similar to Babel. Develop using the newest interpreter
+and use (most) new language features and still maintain backward
+compatibility.
Index: pkgsrc/devel/py-lib3to6/Makefile
diff -u /dev/null pkgsrc/devel/py-lib3to6/Makefile:1.1
--- /dev/null   Sat Nov  4 15:52:35 2023
+++ pkgsrc/devel/py-lib3to6/Makefile    Sat Nov  4 15:52:35 2023
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2023/11/04 15:52:35 wiz Exp $
+
+DISTNAME=      lib3to6-202107.1047
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lib3to6/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mbarkhau/lib3to6
+COMMENT=       Compile Python 3.6+ code to Python 2.7+
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-pathlib2>=0:../../devel/py-pathlib2
+DEPENDS+=      ${PYPKGPREFIX}-astor>=0:../../devel/py-astor
+DEPENDS+=      ${PYPKGPREFIX}-click>=0:../../devel/py-click
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} lib3to6 lib3to6-${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-lib3to6/PLIST
diff -u /dev/null pkgsrc/devel/py-lib3to6/PLIST:1.1
--- /dev/null   Sat Nov  4 15:52:35 2023
+++ pkgsrc/devel/py-lib3to6/PLIST       Sat Nov  4 15:52:35 2023
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1 2023/11/04 15:52:35 wiz Exp $
+bin/lib3to6-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
+${PYSITELIB}/lib3to6/__init__.py
+${PYSITELIB}/lib3to6/__init__.pyc
+${PYSITELIB}/lib3to6/__init__.pyo
+${PYSITELIB}/lib3to6/__main__.py
+${PYSITELIB}/lib3to6/__main__.pyc
+${PYSITELIB}/lib3to6/__main__.pyo
+${PYSITELIB}/lib3to6/checker_base.py
+${PYSITELIB}/lib3to6/checker_base.pyc
+${PYSITELIB}/lib3to6/checker_base.pyo
+${PYSITELIB}/lib3to6/checkers.py
+${PYSITELIB}/lib3to6/checkers.pyc
+${PYSITELIB}/lib3to6/checkers.pyo
+${PYSITELIB}/lib3to6/checkers_backports.py
+${PYSITELIB}/lib3to6/checkers_backports.pyc
+${PYSITELIB}/lib3to6/checkers_backports.pyo
+${PYSITELIB}/lib3to6/common.py
+${PYSITELIB}/lib3to6/common.pyc
+${PYSITELIB}/lib3to6/common.pyo
+${PYSITELIB}/lib3to6/fixer_base.py
+${PYSITELIB}/lib3to6/fixer_base.pyc
+${PYSITELIB}/lib3to6/fixer_base.pyo
+${PYSITELIB}/lib3to6/fixers.py
+${PYSITELIB}/lib3to6/fixers.pyc
+${PYSITELIB}/lib3to6/fixers.pyo
+${PYSITELIB}/lib3to6/fixers_builtin_rename.py
+${PYSITELIB}/lib3to6/fixers_builtin_rename.pyc
+${PYSITELIB}/lib3to6/fixers_builtin_rename.pyo
+${PYSITELIB}/lib3to6/fixers_fstring.py
+${PYSITELIB}/lib3to6/fixers_fstring.pyc
+${PYSITELIB}/lib3to6/fixers_fstring.pyo
+${PYSITELIB}/lib3to6/fixers_future.py
+${PYSITELIB}/lib3to6/fixers_future.pyc
+${PYSITELIB}/lib3to6/fixers_future.pyo
+${PYSITELIB}/lib3to6/fixers_import_fallback.py
+${PYSITELIB}/lib3to6/fixers_import_fallback.pyc
+${PYSITELIB}/lib3to6/fixers_import_fallback.pyo
+${PYSITELIB}/lib3to6/fixers_namedexpr.py
+${PYSITELIB}/lib3to6/fixers_namedexpr.pyc
+${PYSITELIB}/lib3to6/fixers_namedexpr.pyo
+${PYSITELIB}/lib3to6/fixers_unpacking_generalization.py
+${PYSITELIB}/lib3to6/fixers_unpacking_generalization.pyc
+${PYSITELIB}/lib3to6/fixers_unpacking_generalization.pyo
+${PYSITELIB}/lib3to6/packaging.py
+${PYSITELIB}/lib3to6/packaging.pyc
+${PYSITELIB}/lib3to6/packaging.pyo
+${PYSITELIB}/lib3to6/transpile.py
+${PYSITELIB}/lib3to6/transpile.pyc
+${PYSITELIB}/lib3to6/transpile.pyo
+${PYSITELIB}/lib3to6/utils.py
+${PYSITELIB}/lib3to6/utils.pyc
+${PYSITELIB}/lib3to6/utils.pyo
Index: pkgsrc/devel/py-lib3to6/distinfo
diff -u /dev/null pkgsrc/devel/py-lib3to6/distinfo:1.1
--- /dev/null   Sat Nov  4 15:52:35 2023
+++ pkgsrc/devel/py-lib3to6/distinfo    Sat Nov  4 15:52:35 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/11/04 15:52:35 wiz Exp $
+
+BLAKE2s (lib3to6-202107.1047.tar.gz) = 148ee0b9f0cd290ca6946f4a4b988ef6297d16d2599b8719ed2b0c2bcac9a661
+SHA512 (lib3to6-202107.1047.tar.gz) = 2489d9652c1d7bca2427f895ba688cf07b8d9d41c5b2c8abd4e10dacd24477d264c42ed5be853a5c9c4ff58188225497a6cea8a65de56250e09e34b90a1daa82
+Size (lib3to6-202107.1047.tar.gz) = 69593 bytes



Home | Main Index | Thread Index | Old Index