Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Last version that supports Python 2.7.
- Loading branch information
adam
committed
Jul 30, 2021
1 parent
8969267
commit a6e5c52
Showing
6 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin/isort @PREFIX@/bin/isort-@PYVERSSUFFIX@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |