pkgsrc-WIP-changes archive

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

import to py-import-linter 1.2



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Thu Oct 22 10:16:08 2020 +0100
Changeset:	b23a0949cd73ecff1db1136004afa1aa5dd11c61

Added Files:
	py-import-linter/DESCR
	py-import-linter/Makefile
	py-import-linter/PLIST
	py-import-linter/distinfo

Log Message:
import to py-import-linter 1.2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b23a0949cd73ecff1db1136004afa1aa5dd11c61

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-import-linter/DESCR    |   6 +++
 py-import-linter/Makefile |  22 ++++++++++
 py-import-linter/PLIST    | 102 ++++++++++++++++++++++++++++++++++++++++++++++
 py-import-linter/distinfo |   6 +++
 4 files changed, 136 insertions(+)

diffs:
diff --git a/py-import-linter/DESCR b/py-import-linter/DESCR
new file mode 100644
index 0000000000..feed9349c9
--- /dev/null
+++ b/py-import-linter/DESCR
@@ -0,0 +1,6 @@
+Import Linter is a command line tool to check that you
+are following a self-imposed architecture within your
+Python project. It does this by analysing the imports
+between all the modules in one or more Python packages,
+and compares this against a set of rules that you provide
+in a configuration file.
diff --git a/py-import-linter/Makefile b/py-import-linter/Makefile
new file mode 100644
index 0000000000..50de6c6fdd
--- /dev/null
+++ b/py-import-linter/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+VERS=		1.2
+DISTNAME=	import-linter-1.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=i/${DISTNAME:S/${VERS}//}/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://pypi.org/project/import-linter/
+COMMENT=	Enforces rules for the imports within and between Python packages
+LICENSE=	2-clause-bsd
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+DEPENDS+=	${PYPKGPREFIX}-click>=7.1.2:../../devel/py-click
+DEPENDS+=	${PYPKGPREFIX}-grimp>=1.2.2:../../wip/py-grimp
+
+USE_LANGUAGES=	# none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-import-linter/PLIST b/py-import-linter/PLIST
new file mode 100644
index 0000000000..45e8b4cf1e
--- /dev/null
+++ b/py-import-linter/PLIST
@@ -0,0 +1,102 @@
+@comment $NetBSD$
+bin/lint-imports
+${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}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/importlinter/__init__.py
+${PYSITELIB}/importlinter/__init__.pyc
+${PYSITELIB}/importlinter/__init__.pyo
+${PYSITELIB}/importlinter/adapters/__init__.py
+${PYSITELIB}/importlinter/adapters/__init__.pyc
+${PYSITELIB}/importlinter/adapters/__init__.pyo
+${PYSITELIB}/importlinter/adapters/building.py
+${PYSITELIB}/importlinter/adapters/building.pyc
+${PYSITELIB}/importlinter/adapters/building.pyo
+${PYSITELIB}/importlinter/adapters/filesystem.py
+${PYSITELIB}/importlinter/adapters/filesystem.pyc
+${PYSITELIB}/importlinter/adapters/filesystem.pyo
+${PYSITELIB}/importlinter/adapters/printing.py
+${PYSITELIB}/importlinter/adapters/printing.pyc
+${PYSITELIB}/importlinter/adapters/printing.pyo
+${PYSITELIB}/importlinter/adapters/user_options.py
+${PYSITELIB}/importlinter/adapters/user_options.pyc
+${PYSITELIB}/importlinter/adapters/user_options.pyo
+${PYSITELIB}/importlinter/application/__init__.py
+${PYSITELIB}/importlinter/application/__init__.pyc
+${PYSITELIB}/importlinter/application/__init__.pyo
+${PYSITELIB}/importlinter/application/app_config.py
+${PYSITELIB}/importlinter/application/app_config.pyc
+${PYSITELIB}/importlinter/application/app_config.pyo
+${PYSITELIB}/importlinter/application/file_finding.py
+${PYSITELIB}/importlinter/application/file_finding.pyc
+${PYSITELIB}/importlinter/application/file_finding.pyo
+${PYSITELIB}/importlinter/application/output.py
+${PYSITELIB}/importlinter/application/output.pyc
+${PYSITELIB}/importlinter/application/output.pyo
+${PYSITELIB}/importlinter/application/ports/__init__.py
+${PYSITELIB}/importlinter/application/ports/__init__.pyc
+${PYSITELIB}/importlinter/application/ports/__init__.pyo
+${PYSITELIB}/importlinter/application/ports/building.py
+${PYSITELIB}/importlinter/application/ports/building.pyc
+${PYSITELIB}/importlinter/application/ports/building.pyo
+${PYSITELIB}/importlinter/application/ports/filesystem.py
+${PYSITELIB}/importlinter/application/ports/filesystem.pyc
+${PYSITELIB}/importlinter/application/ports/filesystem.pyo
+${PYSITELIB}/importlinter/application/ports/printing.py
+${PYSITELIB}/importlinter/application/ports/printing.pyc
+${PYSITELIB}/importlinter/application/ports/printing.pyo
+${PYSITELIB}/importlinter/application/ports/reporting.py
+${PYSITELIB}/importlinter/application/ports/reporting.pyc
+${PYSITELIB}/importlinter/application/ports/reporting.pyo
+${PYSITELIB}/importlinter/application/ports/user_options.py
+${PYSITELIB}/importlinter/application/ports/user_options.pyc
+${PYSITELIB}/importlinter/application/ports/user_options.pyo
+${PYSITELIB}/importlinter/application/rendering.py
+${PYSITELIB}/importlinter/application/rendering.pyc
+${PYSITELIB}/importlinter/application/rendering.pyo
+${PYSITELIB}/importlinter/application/use_cases.py
+${PYSITELIB}/importlinter/application/use_cases.pyc
+${PYSITELIB}/importlinter/application/use_cases.pyo
+${PYSITELIB}/importlinter/application/user_options.py
+${PYSITELIB}/importlinter/application/user_options.pyc
+${PYSITELIB}/importlinter/application/user_options.pyo
+${PYSITELIB}/importlinter/cli.py
+${PYSITELIB}/importlinter/cli.pyc
+${PYSITELIB}/importlinter/cli.pyo
+${PYSITELIB}/importlinter/contracts/__init__.py
+${PYSITELIB}/importlinter/contracts/__init__.pyc
+${PYSITELIB}/importlinter/contracts/__init__.pyo
+${PYSITELIB}/importlinter/contracts/forbidden.py
+${PYSITELIB}/importlinter/contracts/forbidden.pyc
+${PYSITELIB}/importlinter/contracts/forbidden.pyo
+${PYSITELIB}/importlinter/contracts/independence.py
+${PYSITELIB}/importlinter/contracts/independence.pyc
+${PYSITELIB}/importlinter/contracts/independence.pyo
+${PYSITELIB}/importlinter/contracts/layers.py
+${PYSITELIB}/importlinter/contracts/layers.pyc
+${PYSITELIB}/importlinter/contracts/layers.pyo
+${PYSITELIB}/importlinter/domain/__init__.py
+${PYSITELIB}/importlinter/domain/__init__.pyc
+${PYSITELIB}/importlinter/domain/__init__.pyo
+${PYSITELIB}/importlinter/domain/contract.py
+${PYSITELIB}/importlinter/domain/contract.pyc
+${PYSITELIB}/importlinter/domain/contract.pyo
+${PYSITELIB}/importlinter/domain/fields.py
+${PYSITELIB}/importlinter/domain/fields.pyc
+${PYSITELIB}/importlinter/domain/fields.pyo
+${PYSITELIB}/importlinter/domain/helpers.py
+${PYSITELIB}/importlinter/domain/helpers.pyc
+${PYSITELIB}/importlinter/domain/helpers.pyo
+${PYSITELIB}/importlinter/domain/imports.py
+${PYSITELIB}/importlinter/domain/imports.pyc
+${PYSITELIB}/importlinter/domain/imports.pyo
+${PYSITELIB}/importlinter/domain/ports/__init__.py
+${PYSITELIB}/importlinter/domain/ports/__init__.pyc
+${PYSITELIB}/importlinter/domain/ports/__init__.pyo
+${PYSITELIB}/importlinter/domain/ports/graph.py
+${PYSITELIB}/importlinter/domain/ports/graph.pyc
+${PYSITELIB}/importlinter/domain/ports/graph.pyo
diff --git a/py-import-linter/distinfo b/py-import-linter/distinfo
new file mode 100644
index 0000000000..2e3cd25585
--- /dev/null
+++ b/py-import-linter/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (import-linter-1.2.tar.gz) = 7c52c5f52e0f92238ecac3188586c96df62ba071
+RMD160 (import-linter-1.2.tar.gz) = 96a9e180a1e929dfcb4eaa96820aa3a806ae957b
+SHA512 (import-linter-1.2.tar.gz) = 17ae893cbcf0384a820f70b76d65cf55ae49459e9a6048b49124413a3c174a638d64bd26b9a0ebd8c210e812261c945b880da3af498e8e465f90c16afc761c5a
+Size (import-linter-1.2.tar.gz) = 18359 bytes


Home | Main Index | Thread Index | Old Index