pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jul 30 17:37:37 UTC 2021

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

Log Message:
py-isort4: add version 4.3.21

Last version that supports Python 2.7.


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

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3478 pkgsrc/devel/Makefile:1.3479
--- pkgsrc/devel/Makefile:1.3478        Thu Jul 29 21:18:37 2021
+++ pkgsrc/devel/Makefile       Fri Jul 30 17:37:36 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3478 2021/07/29 21:18:37 fcambus Exp $
+# $NetBSD: Makefile,v 1.3479 2021/07/30 17:37:36 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2363,6 +2363,7 @@ SUBDIR+=  py-ipython_genutils
 SUBDIR+=       py-iso-639
 SUBDIR+=       py-iso3166
 SUBDIR+=       py-isort
+SUBDIR+=       py-isort4
 SUBDIR+=       py-itanium_demangler
 SUBDIR+=       py-jaraco.classes
 SUBDIR+=       py-jaraco.functools

Added files:

Index: pkgsrc/devel/py-isort4/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-isort4/ALTERNATIVES:1.1
--- /dev/null   Fri Jul 30 17:37:37 2021
+++ pkgsrc/devel/py-isort4/ALTERNATIVES Fri Jul 30 17:37:36 2021
@@ -0,0 +1 @@
+bin/isort @PREFIX@/bin/isort-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-isort4/DESCR
diff -u /dev/null pkgsrc/devel/py-isort4/DESCR:1.1
--- /dev/null   Fri Jul 30 17:37:37 2021
+++ pkgsrc/devel/py-isort4/DESCR        Fri Jul 30 17:37:36 2021
@@ -0,0 +1,4 @@
+isort is a Python utility / library to sort imports alphabetically,
+and automatically separated into sections. It provides a command
+line utility, Python library and plugins for various editors to
+quickly sort all your imports.
Index: pkgsrc/devel/py-isort4/Makefile
diff -u /dev/null pkgsrc/devel/py-isort4/Makefile:1.1
--- /dev/null   Fri Jul 30 17:37:37 2021
+++ pkgsrc/devel/py-isort4/Makefile     Fri Jul 30 17:37:36 2021
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2021/07/30 17:37:36 adam Exp $
+
+DISTNAME=      isort-4.3.21
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=i/isort/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/timothycrosley/isort
+COMMENT=       Python utility / library to sort imports
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-lama-[0-9]*:../../devel/py-lama
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache
+DEPENDS+=      ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
+.endif
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} isort isort-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test_isort.py
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-isort4/PLIST
diff -u /dev/null pkgsrc/devel/py-isort4/PLIST:1.1
--- /dev/null   Fri Jul 30 17:37:37 2021
+++ pkgsrc/devel/py-isort4/PLIST        Fri Jul 30 17:37:37 2021
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/30 17:37:37 adam Exp $
+bin/isort-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/isort/__init__.py
+${PYSITELIB}/isort/__init__.pyc
+${PYSITELIB}/isort/__init__.pyo
+${PYSITELIB}/isort/__main__.py
+${PYSITELIB}/isort/__main__.pyc
+${PYSITELIB}/isort/__main__.pyo
+${PYSITELIB}/isort/finders.py
+${PYSITELIB}/isort/finders.pyc
+${PYSITELIB}/isort/finders.pyo
+${PYSITELIB}/isort/hooks.py
+${PYSITELIB}/isort/hooks.pyc
+${PYSITELIB}/isort/hooks.pyo
+${PYSITELIB}/isort/isort.py
+${PYSITELIB}/isort/isort.pyc
+${PYSITELIB}/isort/isort.pyo
+${PYSITELIB}/isort/main.py
+${PYSITELIB}/isort/main.pyc
+${PYSITELIB}/isort/main.pyo
+${PYSITELIB}/isort/natural.py
+${PYSITELIB}/isort/natural.pyc
+${PYSITELIB}/isort/natural.pyo
+${PYSITELIB}/isort/pie_slice.py
+${PYSITELIB}/isort/pie_slice.pyc
+${PYSITELIB}/isort/pie_slice.pyo
+${PYSITELIB}/isort/pylama_isort.py
+${PYSITELIB}/isort/pylama_isort.pyc
+${PYSITELIB}/isort/pylama_isort.pyo
+${PYSITELIB}/isort/settings.py
+${PYSITELIB}/isort/settings.pyc
+${PYSITELIB}/isort/settings.pyo
+${PYSITELIB}/isort/utils.py
+${PYSITELIB}/isort/utils.pyc
+${PYSITELIB}/isort/utils.pyo
Index: pkgsrc/devel/py-isort4/distinfo
diff -u /dev/null pkgsrc/devel/py-isort4/distinfo:1.1
--- /dev/null   Fri Jul 30 17:37:37 2021
+++ pkgsrc/devel/py-isort4/distinfo     Fri Jul 30 17:37:37 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/07/30 17:37:37 adam Exp $
+
+SHA1 (isort-4.3.21.tar.gz) = 039126857536033900c81923af241a963d891654
+RMD160 (isort-4.3.21.tar.gz) = f3905a2005ed7df9127161d1561f786addcde7fc
+SHA512 (isort-4.3.21.tar.gz) = 2a35107baf7c78c03bab3ea2fadd0c6cbc8db219acd388600b01ace27c91e6c651355e1ecfeb03b1ef2893a1d066b3d2f182a0008e3c341193ac156b8aea0dc2
+Size (isort-4.3.21.tar.gz) = 69546 bytes



Home | Main Index | Thread Index | Old Index