pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-sparqlwrapper



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 10 20:23:24 UTC 2024

Modified Files:
        pkgsrc/www/py-sparqlwrapper: Makefile PLIST distinfo
Added Files:
        pkgsrc/www/py-sparqlwrapper: ALTERNATIVES
Removed Files:
        pkgsrc/www/py-sparqlwrapper/patches: patch-setup.py

Log Message:
py-sparqlwrapper: updated to 2.0.0

2.0.0

Ported codebase to Python 3. Dropped support for Python 2
Removed nosetest in favour of unittest
Added a CLI: rqw
Updated for RDFLib >= 6.1.1
Added type hints


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-sparqlwrapper/ALTERNATIVES
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-sparqlwrapper/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-sparqlwrapper/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-sparqlwrapper/distinfo
cvs rdiff -u -r1.3 -r0 pkgsrc/www/py-sparqlwrapper/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/www/py-sparqlwrapper/Makefile
diff -u pkgsrc/www/py-sparqlwrapper/Makefile:1.11 pkgsrc/www/py-sparqlwrapper/Makefile:1.12
--- pkgsrc/www/py-sparqlwrapper/Makefile:1.11   Tue Jan  4 20:55:35 2022
+++ pkgsrc/www/py-sparqlwrapper/Makefile        Mon Jun 10 20:23:24 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:35 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2024/06/10 20:23:24 adam Exp $
 
-DISTNAME=      SPARQLWrapper-1.8.5
+DISTNAME=      SPARQLWrapper-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=S/SPARQLWrapper/}
 
@@ -11,14 +10,17 @@ HOMEPAGE=   https://rdflib.github.io/sparq
 COMMENT=       SPARQL endpoint interface to Python
 LICENSE=       w3c
 
-DEPENDS+=      ${PYPKGPREFIX}-rdflib>=4.0:../../textproc/py-rdflib
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-rdflib>=6.1.1:../../textproc/py-rdflib
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27      # py-networkx via py-rdflib
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-post-extract:
-       cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs SPARQLWrapper
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} rqw rqw-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-sparqlwrapper/PLIST
diff -u pkgsrc/www/py-sparqlwrapper/PLIST:1.2 pkgsrc/www/py-sparqlwrapper/PLIST:1.3
--- pkgsrc/www/py-sparqlwrapper/PLIST:1.2       Sat Oct  7 11:14:42 2017
+++ pkgsrc/www/py-sparqlwrapper/PLIST   Mon Jun 10 20:23:24 2024
@@ -1,9 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2017/10/07 11:14:42 adam Exp $
-${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
+@comment $NetBSD: PLIST,v 1.3 2024/06/10 20:23:24 adam Exp $
+bin/rqw-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.md
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/SPARQLWrapper/KeyCaseInsensitiveDict.py
 ${PYSITELIB}/SPARQLWrapper/KeyCaseInsensitiveDict.pyc
 ${PYSITELIB}/SPARQLWrapper/KeyCaseInsensitiveDict.pyo
@@ -19,3 +22,10 @@ ${PYSITELIB}/SPARQLWrapper/Wrapper.pyo
 ${PYSITELIB}/SPARQLWrapper/__init__.py
 ${PYSITELIB}/SPARQLWrapper/__init__.pyc
 ${PYSITELIB}/SPARQLWrapper/__init__.pyo
+${PYSITELIB}/SPARQLWrapper/main.py
+${PYSITELIB}/SPARQLWrapper/main.pyc
+${PYSITELIB}/SPARQLWrapper/main.pyo
+${PYSITELIB}/SPARQLWrapper/py.typed
+${PYSITELIB}/SPARQLWrapper/sparql_dataframe.py
+${PYSITELIB}/SPARQLWrapper/sparql_dataframe.pyc
+${PYSITELIB}/SPARQLWrapper/sparql_dataframe.pyo

Index: pkgsrc/www/py-sparqlwrapper/distinfo
diff -u pkgsrc/www/py-sparqlwrapper/distinfo:1.9 pkgsrc/www/py-sparqlwrapper/distinfo:1.10
--- pkgsrc/www/py-sparqlwrapper/distinfo:1.9    Thu Dec 30 13:36:26 2021
+++ pkgsrc/www/py-sparqlwrapper/distinfo        Mon Jun 10 20:23:24 2024
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/12/30 13:36:26 adam Exp $
+$NetBSD: distinfo,v 1.10 2024/06/10 20:23:24 adam Exp $
 
-BLAKE2s (SPARQLWrapper-1.8.5.tar.gz) = 0da51c5a997da20da0b3b0ba7ec02667eca4135dfd8ab4cfd9c00d079bd98e91
-SHA512 (SPARQLWrapper-1.8.5.tar.gz) = b0cbe9f7f13a8a0a1c88a17b5966b46e7811acada2712ee03be97808dcb17ba4a71990c07df5d213d21815d7deaf3526381a2cc864d839e561e242be797b6bb2
-Size (SPARQLWrapper-1.8.5.tar.gz) = 89117 bytes
-SHA1 (patch-setup.py) = cdd796f6e8d619fb7199ee25cef80d99b3315daf
+BLAKE2s (SPARQLWrapper-2.0.0.tar.gz) = 1bb2ff3290082e940ba54aa44b84240902da9ebedf3be5b2e8a821b11400e4f1
+SHA512 (SPARQLWrapper-2.0.0.tar.gz) = 5a3a8e521ba724f77804687660828c491c72239378cadc501eb57f8fed9013b085a155c67a0894fe1098ba6ec8b5f6612f1b538cb68483b80f125d054e078bdf
+Size (SPARQLWrapper-2.0.0.tar.gz) = 98429 bytes

Added files:

Index: pkgsrc/www/py-sparqlwrapper/ALTERNATIVES
diff -u /dev/null pkgsrc/www/py-sparqlwrapper/ALTERNATIVES:1.1
--- /dev/null   Mon Jun 10 20:23:24 2024
+++ pkgsrc/www/py-sparqlwrapper/ALTERNATIVES    Mon Jun 10 20:23:24 2024
@@ -0,0 +1 @@
+bin/rqw @PREFIX@/bin/rqw-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index