pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel py-isort4: add version 4.3.21



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6466eab8437
branches:  trunk
changeset: 456478:e6466eab8437
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 30 17:37:36 2021 +0000

description:
py-isort4: add version 4.3.21

Last version that supports Python 2.7.

diffstat:

 devel/Makefile               |   3 ++-
 devel/py-isort4/ALTERNATIVES |   1 +
 devel/py-isort4/DESCR        |   4 ++++
 devel/py-isort4/Makefile     |  34 ++++++++++++++++++++++++++++++++++
 devel/py-isort4/PLIST        |  41 +++++++++++++++++++++++++++++++++++++++++
 devel/py-isort4/distinfo     |   6 ++++++
 6 files changed, 88 insertions(+), 1 deletions(-)

diffs (123 lines):

diff -r cf4ca5817315 -r e6466eab8437 devel/Makefile
--- a/devel/Makefile    Fri Jul 30 16:35:26 2021 +0000
+++ b/devel/Makefile    Fri Jul 30 17:37:36 2021 +0000
@@ -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-iso-639
 SUBDIR+=       py-iso3166
 SUBDIR+=       py-isort
+SUBDIR+=       py-isort4
 SUBDIR+=       py-itanium_demangler
 SUBDIR+=       py-jaraco.classes
 SUBDIR+=       py-jaraco.functools
diff -r cf4ca5817315 -r e6466eab8437 devel/py-isort4/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort4/ALTERNATIVES      Fri Jul 30 17:37:36 2021 +0000
@@ -0,0 +1,1 @@
+bin/isort @PREFIX@/bin/isort-@PYVERSSUFFIX@
diff -r cf4ca5817315 -r e6466eab8437 devel/py-isort4/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort4/DESCR     Fri Jul 30 17:37:36 2021 +0000
@@ -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.
diff -r cf4ca5817315 -r e6466eab8437 devel/py-isort4/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort4/Makefile  Fri Jul 30 17:37:36 2021 +0000
@@ -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"
diff -r cf4ca5817315 -r e6466eab8437 devel/py-isort4/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort4/PLIST     Fri Jul 30 17:37:36 2021 +0000
@@ -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
diff -r cf4ca5817315 -r e6466eab8437 devel/py-isort4/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort4/distinfo  Fri Jul 30 17:37:36 2021 +0000
@@ -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