pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-isort



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Tue Feb 28 20:54:09 UTC 2017

Added Files:
        pkgsrc/devel/py-isort: ALTERNATIVES DESCR Makefile PLIST distinfo
        pkgsrc/devel/py-isort/patches: patch-setup.py

Log Message:
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.


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

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-isort/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-isort/ALTERNATIVES:1.1
--- /dev/null   Tue Feb 28 20:54:09 2017
+++ pkgsrc/devel/py-isort/ALTERNATIVES  Tue Feb 28 20:54:09 2017
@@ -0,0 +1 @@
+bin/isort @PREFIX@/bin/isort@PYVERSSUFFIX@
Index: pkgsrc/devel/py-isort/DESCR
diff -u /dev/null pkgsrc/devel/py-isort/DESCR:1.1
--- /dev/null   Tue Feb 28 20:54:09 2017
+++ pkgsrc/devel/py-isort/DESCR Tue Feb 28 20:54:09 2017
@@ -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-isort/Makefile
diff -u /dev/null pkgsrc/devel/py-isort/Makefile:1.1
--- /dev/null   Tue Feb 28 20:54:09 2017
+++ pkgsrc/devel/py-isort/Makefile      Tue Feb 28 20:54:09 2017
@@ -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"
Index: pkgsrc/devel/py-isort/PLIST
diff -u /dev/null pkgsrc/devel/py-isort/PLIST:1.1
--- /dev/null   Tue Feb 28 20:54:09 2017
+++ pkgsrc/devel/py-isort/PLIST Tue Feb 28 20:54:09 2017
@@ -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
Index: pkgsrc/devel/py-isort/distinfo
diff -u /dev/null pkgsrc/devel/py-isort/distinfo:1.1
--- /dev/null   Tue Feb 28 20:54:09 2017
+++ pkgsrc/devel/py-isort/distinfo      Tue Feb 28 20:54:09 2017
@@ -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

Index: pkgsrc/devel/py-isort/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-isort/patches/patch-setup.py:1.1
--- /dev/null   Tue Feb 28 20:54:09 2017
+++ pkgsrc/devel/py-isort/patches/patch-setup.py        Tue Feb 28 20:54:09 2017
@@ -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