pkgsrc-WIP-changes archive

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

py-schema: Update to v0.7.7



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Mon May 20 14:35:46 2024 -0700
Changeset:	aee9c5d0fef03c80f35244d9c1a08edb047f320b

Modified Files:
	py-schema/Makefile
	py-schema/PLIST
	py-schema/distinfo
Added Files:
	py-schema/COMMIT_MSG

Log Message:
py-schema: Update to v0.7.7

Packaging changes:
- convert to wheel
- remove py-contextlib2 dependency
- mark incompatible with python 2.7

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

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

diffstat:
 py-schema/COMMIT_MSG |  5 +++++
 py-schema/Makefile   | 13 +++++++++----
 py-schema/PLIST      | 10 +++++-----
 py-schema/distinfo   |  6 +++---
 4 files changed, 22 insertions(+), 12 deletions(-)

diffs:
diff --git a/py-schema/COMMIT_MSG b/py-schema/COMMIT_MSG
new file mode 100644
index 0000000000..897e4c2e80
--- /dev/null
+++ b/py-schema/COMMIT_MSG
@@ -0,0 +1,5 @@
+devel/py-schema: Add v0.7.7
+
+schema is a library for validating Python data structures, such as those
+obtained from config-files, forms, external services or command-line
+parsing, converted from JSON/YAML (or something else) to Python data-types
diff --git a/py-schema/Makefile b/py-schema/Makefile
index 0da8cec959..b1b2a774c4 100644
--- a/py-schema/Makefile
+++ b/py-schema/Makefile
@@ -1,8 +1,8 @@
 # $NetBSD$
 
-DISTNAME=	schema-0.7.4
+DISTNAME=	schema-0.7.7
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=	category python
+CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=s/schema/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
@@ -10,7 +10,12 @@ HOMEPAGE=	https://github.com/keleshev/schema
 COMMENT=	Simple data validation library
 LICENSE=	mit
 
-DEPENDS+=	${PYPKGPREFIX}-contextlib2>=0.5.5:../../devel/py-contextlib2
+USE_LANGUAGES=	# none
 
-.include "../../lang/python/egg.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-schema/PLIST b/py-schema/PLIST
index 5f87244e4c..df9ad8a6ad 100644
--- a/py-schema/PLIST
+++ b/py-schema/PLIST
@@ -1,9 +1,9 @@
 @comment $NetBSD$
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE-MIT
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/schema.py
 ${PYSITELIB}/schema.pyc
 ${PYSITELIB}/schema.pyo
diff --git a/py-schema/distinfo b/py-schema/distinfo
index 90dfd02e22..1966943893 100644
--- a/py-schema/distinfo
+++ b/py-schema/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (schema-0.7.4.tar.gz) = 22bffbeab1a45f877f4cf85354bd3b850117db38
-SHA512 (schema-0.7.4.tar.gz) = 6dd0ee8348fde4c6a9a39baf2b0fafff851f10ea581b16f438717d5435481f34829176bb4b82ecdd092da26332fd114fab856691b755ecf8e5648fb2233a0daf
-Size (schema-0.7.4.tar.gz) = 41340 bytes
+BLAKE2s (schema-0.7.7.tar.gz) = 837efa617293d14c2e5d577d1bbd8f05be46d35ebe0c11e4abe613de303aa4ca
+SHA512 (schema-0.7.7.tar.gz) = 9c811f5c4e87a123a5a1401b6e4b1ff5319f044458fa2b280740dbe78e76661ae868643f0c8a4b738161be6d8ad575401841a824df6664825a545aa0339815c2
+Size (schema-0.7.7.tar.gz) = 44245 bytes


Home | Main Index | Thread Index | Old Index