pkgsrc-WIP-changes archive

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

py-venusian: update to 3.0.0.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sat Jun 17 20:34:34 2023 +0200
Changeset:	4b1298322a5458d073c7bee72a5389e3479263c9

Modified Files:
	py-venusian/DESCR
	py-venusian/Makefile
	py-venusian/PLIST
	py-venusian/distinfo

Log Message:
py-venusian: update to 3.0.0.

3.0.0 (2019-10-04)
------------------

- This release matches 2.0.0 other than in the version number. This fixes an
  issue with Requires-Python metadata not being uploaded correctly to PyPi.

  This version is only compatible with Python 3.5+

2.0.0 (2019-10-04)
------------------

- Drop support for Python 2.7, 3.3, and 3.4

- Removed the usage of the ``imp`` module to squelch the warnings regarding a
  deprecated modules. See https://github.com/Pylons/venusian/pull/63 and
  https://github.com/Pylons/venusian/issues/57

1.2.0 (2019-01-08)
------------------

- Add support for Python 3.7.

- Drop support for Python 3.3.

1.1.0 (2017-04-24)
------------------

- Updated to using py.test instead of nosetest, and added support for Python
  3.4 -> 3.6

- Make scanning more resilient of metaclasses that return proxies for any
  attribute access.

- Fix bug where using the same venusian decorator on both a class and its
  methods would cause the method decorations to be ignored. See
  https://github.com/Pylons/venusian/issues/40

- Drop support for Python 2.6.

- Drop support for Python 3.2:  it is no longer supported by current
  packaging / CI tools.

- Support loaders that require the module name as argument to their
  ``get_filename()`` method. This fixes problems with zipped packages
  on Python 3.

- Micro-optimization when ignores are used (see
  https://github.com/Pylons/venusian/pull/20).

- A tox run now combines coverage between Py2 and Py3.

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

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

diffstat:
 py-venusian/DESCR    |   2 +-
 py-venusian/Makefile |  14 ++++-
 py-venusian/PLIST    | 145 +--------------------------------------------------
 py-venusian/distinfo |   6 +--
 4 files changed, 17 insertions(+), 150 deletions(-)

diffs:
diff --git a/py-venusian/DESCR b/py-venusian/DESCR
index 53733066c9..7b7b040ec6 100644
--- a/py-venusian/DESCR
+++ b/py-venusian/DESCR
@@ -1,4 +1,4 @@
 Venusian is a library which allows framework authors to defer decorator actions.
 Instead of taking actions when a function (or class) decorator is executed at
 import time, you can defer the action usually taken by the decorator until a
-separate “scan” phase
+separate "scan" phase
diff --git a/py-venusian/Makefile b/py-venusian/Makefile
index 53d6bf34c6..bf0f84c4d6 100644
--- a/py-venusian/Makefile
+++ b/py-venusian/Makefile
@@ -1,16 +1,26 @@
 # $NetBSD$
 
-DISTNAME=	venusian-1.0
+DISTNAME=	venusian-3.0.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_PYPI:=v/venusian/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
-HOMEPAGE=	http://pylonsproject.org
+HOMEPAGE=	https://pylonsproject.org/
 COMMENT=	Library for deferring decorator actions
 LICENSE=	modified-bsd
 
+TEST_DEPENDS+=	${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
 USE_LANGUAGES=	# none
 
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+TEST_ENV+=	PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-venusian/PLIST b/py-venusian/PLIST
index 79b6e69aab..b0e0d4e5f0 100644
--- a/py-venusian/PLIST
+++ b/py-venusian/PLIST
@@ -2,154 +2,11 @@
 ${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}/venusian/__init__.py
 ${PYSITELIB}/venusian/__init__.pyc
 ${PYSITELIB}/venusian/__init__.pyo
+${PYSITELIB}/venusian/advice.py
 ${PYSITELIB}/venusian/advice.pyc
 ${PYSITELIB}/venusian/advice.pyo
-${PYSITELIB}/venusian/advice.py
-${PYSITELIB}/venusian/compat/__init__.py
-${PYSITELIB}/venusian/compat/__init__.pyc
-${PYSITELIB}/venusian/compat/__init__.pyo
-${PYSITELIB}/venusian/compat/pkgutil_26.pyc
-${PYSITELIB}/venusian/compat/pkgutil_26.pyo
-${PYSITELIB}/venusian/compat/pkgutil_26.py
-${PYSITELIB}/venusian/tests/__init__.py
-${PYSITELIB}/venusian/tests/__init__.pyc
-${PYSITELIB}/venusian/tests/__init__.pyo
-${PYSITELIB}/venusian/tests/test_advice.pyc
-${PYSITELIB}/venusian/tests/test_advice.pyo
-${PYSITELIB}/venusian/tests/test_venusian.pyc
-${PYSITELIB}/venusian/tests/test_venusian.pyo
-${PYSITELIB}/venusian/tests/fixtures/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/category.pyc
-${PYSITELIB}/venusian/tests/fixtures/category.pyo
-${PYSITELIB}/venusian/tests/fixtures/classdecorator.pyc
-${PYSITELIB}/venusian/tests/fixtures/classdecorator.pyo
-${PYSITELIB}/venusian/tests/fixtures/inheritance.pyc
-${PYSITELIB}/venusian/tests/fixtures/inheritance.pyo
-${PYSITELIB}/venusian/tests/fixtures/lifting1.pyc
-${PYSITELIB}/venusian/tests/fixtures/lifting1.pyo
-${PYSITELIB}/venusian/tests/fixtures/lifting2.pyc
-${PYSITELIB}/venusian/tests/fixtures/lifting2.pyo
-${PYSITELIB}/venusian/tests/fixtures/lifting3.pyc
-${PYSITELIB}/venusian/tests/fixtures/lifting3.pyo
-${PYSITELIB}/venusian/tests/fixtures/lifting4.pyc
-${PYSITELIB}/venusian/tests/fixtures/lifting4.pyo
-${PYSITELIB}/venusian/tests/fixtures/lifting5.pyc
-${PYSITELIB}/venusian/tests/fixtures/lifting5.pyo
-${PYSITELIB}/venusian/tests/fixtures/subclassing.pyc
-${PYSITELIB}/venusian/tests/fixtures/subclassing.pyo
-${PYSITELIB}/venusian/tests/fixtures/attrerror/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/attrerror/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/attrerror/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/attrerror/will_cause_import_error.pyc
-${PYSITELIB}/venusian/tests/fixtures/attrerror/will_cause_import_error.pyo
-${PYSITELIB}/venusian/tests/fixtures/attrerror/will_cause_import_error.py
-${PYSITELIB}/venusian/tests/fixtures/attrerror_package/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/attrerror_package/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/attrerror_package/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/attrerror_package/will_cause_import_error/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/attrerror_package/will_cause_import_error/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/attrerror_package/will_cause_import_error/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/category.py
-${PYSITELIB}/venusian/tests/fixtures/classdecorator.py
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/one.pyc
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/one.pyo
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/two.pyc
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/two.pyo
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/one.py
-${PYSITELIB}/venusian/tests/fixtures/import_and_scan/two.py
-${PYSITELIB}/venusian/tests/fixtures/importerror/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/importerror/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/importerror/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/importerror/will_cause_import_error.pyc
-${PYSITELIB}/venusian/tests/fixtures/importerror/will_cause_import_error.pyo
-${PYSITELIB}/venusian/tests/fixtures/importerror/will_cause_import_error.py
-${PYSITELIB}/venusian/tests/fixtures/importerror_package/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/importerror_package/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/importerror_package/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/importerror_package/will_cause_import_error/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/importerror_package/will_cause_import_error/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/importerror_package/will_cause_import_error/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/importonly/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/importonly/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/importonly/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/importonly/one.pyc
-${PYSITELIB}/venusian/tests/fixtures/importonly/one.pyo
-${PYSITELIB}/venusian/tests/fixtures/importonly/two.pyc
-${PYSITELIB}/venusian/tests/fixtures/importonly/two.pyo
-${PYSITELIB}/venusian/tests/fixtures/importonly/one.py
-${PYSITELIB}/venusian/tests/fixtures/importonly/two.py
-${PYSITELIB}/venusian/tests/fixtures/inheritance.py
-${PYSITELIB}/venusian/tests/fixtures/lifting1.py
-${PYSITELIB}/venusian/tests/fixtures/lifting2.py
-${PYSITELIB}/venusian/tests/fixtures/lifting3.py
-${PYSITELIB}/venusian/tests/fixtures/lifting4.py
-${PYSITELIB}/venusian/tests/fixtures/lifting5.py
-${PYSITELIB}/venusian/tests/fixtures/nested/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/nested/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/nested/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/nested/sub1/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/nested/sub1/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/nested/sub1/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/nested/sub1/subsub1/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/nested/sub1/subsub1/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/nested/sub1/subsub1/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/nested/sub2/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/nested/sub2/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/nested/sub2/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/nested/sub2/subsub2/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/nested/sub2/subsub2/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/nested/sub2/subsub2/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/one/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/one/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/one/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/one/module.pyc
-${PYSITELIB}/venusian/tests/fixtures/one/module.pyo
-${PYSITELIB}/venusian/tests/fixtures/one/module2.pyc
-${PYSITELIB}/venusian/tests/fixtures/one/module2.pyo
-${PYSITELIB}/venusian/tests/fixtures/one/module.py
-${PYSITELIB}/venusian/tests/fixtures/one/module2.py
-${PYSITELIB}/venusian/tests/fixtures/pyc/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/pyc/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/pyc/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/pyc/module.pyc
-${PYSITELIB}/venusian/tests/fixtures/pyc/module.pyo
-${PYSITELIB}/venusian/tests/fixtures/pyc/module.py
-${PYSITELIB}/venusian/tests/fixtures/pyc/subpackage/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/pyc/subpackage/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/pyc/subpackage/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/subclassing.py
-${PYSITELIB}/venusian/tests/fixtures/subpackages/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/subpackages/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/subpackages/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/subpackages/mod2.pyc
-${PYSITELIB}/venusian/tests/fixtures/subpackages/mod2.pyo
-${PYSITELIB}/venusian/tests/fixtures/subpackages/childpackage/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/subpackages/childpackage/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/subpackages/childpackage/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/subpackages/childpackage/will_cause_import_error.pyc
-${PYSITELIB}/venusian/tests/fixtures/subpackages/childpackage/will_cause_import_error.pyo
-${PYSITELIB}/venusian/tests/fixtures/subpackages/childpackage/will_cause_import_error.py
-${PYSITELIB}/venusian/tests/fixtures/subpackages/mod2.py
-${PYSITELIB}/venusian/tests/fixtures/two/__init__.py
-${PYSITELIB}/venusian/tests/fixtures/two/__init__.pyc
-${PYSITELIB}/venusian/tests/fixtures/two/__init__.pyo
-${PYSITELIB}/venusian/tests/fixtures/two/mod1.pyc
-${PYSITELIB}/venusian/tests/fixtures/two/mod1.pyo
-${PYSITELIB}/venusian/tests/fixtures/two/mod2.pyc
-${PYSITELIB}/venusian/tests/fixtures/two/mod2.pyo
-${PYSITELIB}/venusian/tests/fixtures/two/mod1.py
-${PYSITELIB}/venusian/tests/fixtures/two/mod2.py
-${PYSITELIB}/venusian/tests/test_advice.py
-${PYSITELIB}/venusian/tests/test_venusian.py
diff --git a/py-venusian/distinfo b/py-venusian/distinfo
index da7cc0afb7..81e4fc5a96 100644
--- a/py-venusian/distinfo
+++ b/py-venusian/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (venusian-1.0.tar.gz) = ff0eae73773874010a838df7b517316b767ba037
-SHA512 (venusian-1.0.tar.gz) = 770780c4e4532b16e119365d3c9531e85aede9c2be2e3a333cfe43856271c7b232ce1b27c1379f677a7191c24e8736bf5307be7a926b613f7b81644d404e8453
-Size (venusian-1.0.tar.gz) = 45747 bytes
+BLAKE2s (venusian-3.0.0.tar.gz) = f1f49c5a706e88b0dac6eab5f6b10f0a69b488d880425c33c8fa813bf3176c49
+SHA512 (venusian-3.0.0.tar.gz) = dec12473f30697ec678190054974d48bd30775f2204308dc43469e65814dbeea1b7ebf571187cc9efe2d3d2a73ab9ef839ad39b99ed81dfa75577f203653a776
+Size (venusian-3.0.0.tar.gz) = 44558 bytes


Home | Main Index | Thread Index | Old Index