diff --git a/py-autoflake/DESCR b/py-autoflake/DESCR new file mode 100644 index 0000000000..30e41add36 --- /dev/null +++ b/py-autoflake/DESCR @@ -0,0 +1,2 @@ +TODO: Fill in a short description of the package. +TODO: It should be between 3 and 20 lines. diff --git a/py-autoflake/Makefile b/py-autoflake/Makefile new file mode 100644 index 0000000000..6593643f0b --- /dev/null +++ b/py-autoflake/Makefile @@ -0,0 +1,21 @@ +# $NetBSD$ + +DISTNAME= autoflake-1.4 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= https://files.pythonhosted.org/packages/11/2e/0a7618eb5e69483d62b0f86c8d1eb7fdca2c2781f6f0cd5f3a3286398475/ + +MAINTAINER= kamelderouiche@yahoo.com +HOMEPAGE= https://github.com/myint/autoflake +COMMENT= Removes unused imports and unused variables +#LICENSE= Expat License # TODO: from setup.py; needs to be adjusted + +DEPENDS+= ${PYPKGPREFIX}-flakes>=2.2.0:../../devel/py-flakes + +USE_LANGUAGES= # none + +do-test: + ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_autoflake.py + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/py-autoflake/PLIST b/py-autoflake/PLIST new file mode 100644 index 0000000000..33143ee2e3 --- /dev/null +++ b/py-autoflake/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD$ +bin/autoflake +${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}/autoflake.py +${PYSITELIB}/autoflake.pyc +${PYSITELIB}/autoflake.pyo diff --git a/py-autoflake/distinfo b/py-autoflake/distinfo new file mode 100644 index 0000000000..d2f7760dbd --- /dev/null +++ b/py-autoflake/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (autoflake-1.4.tar.gz) = 2a8e86b61c3b398285c842eced499532c737b6a5 +RMD160 (autoflake-1.4.tar.gz) = ffe33fb815d28ab4b4b0447a08f0c64488f58c89 +SHA512 (autoflake-1.4.tar.gz) = 2ff2aeff6fac9be194c55d11e72bf8dcba97db9cd4a2eaa41c4bf58ce39529f1221c8ebe19ed8afb25cb02f1c1cb7d8860e17417b2c3edda89e67f93a724df41 +Size (autoflake-1.4.tar.gz) = 22506 bytes