pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-isort Import isort 4.2.5 as devel/py-isort.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a4ee87822ad4
branches:  trunk
changeset: 359153:a4ee87822ad4
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Feb 28 20:54:09 2017 +0000

description:
Import isort 4.2.5 as devel/py-isort.

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.

diffstat:

 devel/py-isort/ALTERNATIVES           |   1 +
 devel/py-isort/DESCR                  |   4 ++++
 devel/py-isort/Makefile               |  16 ++++++++++++++++
 devel/py-isort/PLIST                  |  31 +++++++++++++++++++++++++++++++
 devel/py-isort/distinfo               |   7 +++++++
 devel/py-isort/patches/patch-setup.py |  15 +++++++++++++++
 6 files changed, 74 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r 0104c5f92da4 -r a4ee87822ad4 devel/py-isort/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort/ALTERNATIVES       Tue Feb 28 20:54:09 2017 +0000
@@ -0,0 +1,1 @@
+bin/isort @PREFIX@/bin/isort@PYVERSSUFFIX@
diff -r 0104c5f92da4 -r a4ee87822ad4 devel/py-isort/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort/DESCR      Tue Feb 28 20:54:09 2017 +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 0104c5f92da4 -r a4ee87822ad4 devel/py-isort/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort/Makefile   Tue Feb 28 20:54:09 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/02/28 20:54:09 fhajny Exp $
+
+DISTNAME=      isort-4.2.5
+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
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0104c5f92da4 -r a4ee87822ad4 devel/py-isort/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort/PLIST      Tue Feb 28 20:54:09 2017 +0000
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/28 20:54:09 fhajny 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}/top_level.txt
+${PYSITELIB}/isort/__init__.py
+${PYSITELIB}/isort/__init__.pyc
+${PYSITELIB}/isort/__init__.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
diff -r 0104c5f92da4 -r a4ee87822ad4 devel/py-isort/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort/distinfo   Tue Feb 28 20:54:09 2017 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2017/02/28 20:54:09 fhajny Exp $
+
+SHA1 (isort-4.2.5.tar.gz) = a38bb8af9f882c101a0b1b04a8d746f66672ce03
+RMD160 (isort-4.2.5.tar.gz) = bd8e921d3694dc258d36eb226ba6d575dcb4e55e
+SHA512 (isort-4.2.5.tar.gz) = ddc8e859bb421e4179315d74896958c8279394d42a75494db5dc22c58422994aa249b63c03645626a021ccf9142941bde51ad400256ab1c6be29da8110375f40
+Size (isort-4.2.5.tar.gz) = 36361 bytes
+SHA1 (patch-setup.py) = 2d658729d243ecf5c6e5af13f14f7fda009e322a
diff -r 0104c5f92da4 -r a4ee87822ad4 devel/py-isort/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-isort/patches/patch-setup.py     Tue Feb 28 20:54:09 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2017/02/28 20:54:09 fhajny Exp $
+
+Use PYVERSSUFFIX with scripts.
+
+--- setup.py.orig      2016-03-30 11:08:25.000000000 +0000
++++ setup.py
+@@ -49,7 +49,7 @@ setup(name='isort',
+       license="MIT",
+       entry_points={
+         'console_scripts': [
+-            'isort = isort.main:main',
++            'isort' + sys.version[0:3] + ' = isort.main:main',
+         ],
+         'distutils.commands': ['isort = isort.main:ISortCommand'],
+         'pylama.linter': ['isort = isort.pylama_isort:Linter'],



Home | Main Index | Thread Index | Old Index