pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/py-geojson



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Oct 13 15:04:06 UTC 2024

Modified Files:
        pkgsrc/geography/py-geojson: Makefile PLIST distinfo
Added Files:
        pkgsrc/geography/py-geojson/patches: patch-setup.py

Log Message:
py-geojson: convert to wheel.mk

Support Python 3.13.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/geography/py-geojson/Makefile \
    pkgsrc/geography/py-geojson/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/geography/py-geojson/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/py-geojson/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/geography/py-geojson/Makefile
diff -u pkgsrc/geography/py-geojson/Makefile:1.19 pkgsrc/geography/py-geojson/Makefile:1.20
--- pkgsrc/geography/py-geojson/Makefile:1.19   Sat Dec  9 12:31:14 2023
+++ pkgsrc/geography/py-geojson/Makefile        Sun Oct 13 15:04:05 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2023/12/09 12:31:14 kleink Exp $
+# $NetBSD: Makefile,v 1.20 2024/10/13 15:04:05 wiz Exp $
 
 DISTNAME=      geojson-3.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    geography python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/geojson/}
 
@@ -10,9 +11,9 @@ HOMEPAGE=     https://github.com/jazzband/ge
 COMMENT=       Python bindings and utlities for GeoJSON
 LICENSE=       modified-bsd
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/geography/py-geojson/distinfo
diff -u pkgsrc/geography/py-geojson/distinfo:1.19 pkgsrc/geography/py-geojson/distinfo:1.20
--- pkgsrc/geography/py-geojson/distinfo:1.19   Sat Dec  9 12:31:14 2023
+++ pkgsrc/geography/py-geojson/distinfo        Sun Oct 13 15:04:05 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.19 2023/12/09 12:31:14 kleink Exp $
+$NetBSD: distinfo,v 1.20 2024/10/13 15:04:05 wiz Exp $
 
 BLAKE2s (geojson-3.1.0.tar.gz) = a48ef22a6b4ea6fe11b40ac07e870c33afc07230fb86bf65b0c35047d029d262
 SHA512 (geojson-3.1.0.tar.gz) = 3804682a14c85cd3d6937b61280fe99b21e00b223abfa76350289c4e1a6db04fd8e1b3f9142286090a82051607bd3fdc6168da351d488afaab3a8a9a6dd06fc9
 Size (geojson-3.1.0.tar.gz) = 24492 bytes
+SHA1 (patch-setup.py) = f72e3515478b015719bd5493f948091fe821c155

Index: pkgsrc/geography/py-geojson/PLIST
diff -u pkgsrc/geography/py-geojson/PLIST:1.7 pkgsrc/geography/py-geojson/PLIST:1.8
--- pkgsrc/geography/py-geojson/PLIST:1.7       Wed Dec 11 18:58:58 2019
+++ pkgsrc/geography/py-geojson/PLIST   Sun Oct 13 15:04:05 2024
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2019/12/11 18:58:58 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.8 2024/10/13 15:04:05 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/geojson/__init__.py
 ${PYSITELIB}/geojson/__init__.pyc
 ${PYSITELIB}/geojson/__init__.pyo

Added files:

Index: pkgsrc/geography/py-geojson/patches/patch-setup.py
diff -u /dev/null pkgsrc/geography/py-geojson/patches/patch-setup.py:1.1
--- /dev/null   Sun Oct 13 15:04:06 2024
+++ pkgsrc/geography/py-geojson/patches/patch-setup.py  Sun Oct 13 15:04:05 2024
@@ -0,0 +1,26 @@
+$NetBSD: patch-setup.py,v 1.1 2024/10/13 15:04:05 wiz Exp $
+
+Allow Python 3.13.
+https://github.com/jazzband/geojson/commit/c13afff339e6b78f442785cc95f0eb66ddab3e7b
+
+--- setup.py.orig      2024-10-13 15:02:21.044846161 +0000
++++ setup.py
+@@ -17,8 +17,8 @@ else:
+ 
+ 
+ major_version, minor_version = sys.version_info[:2]
+-if not (major_version == 3 and 7 <= minor_version <= 12):
+-    sys.stderr.write("Sorry, only Python 3.7 - 3.12 are "
++if not (major_version == 3 and 7 <= minor_version <= 13):
++    sys.stderr.write("Sorry, only Python 3.7 - 3.13 are "
+                      "supported at this time.\n")
+     exit(1)
+ 
+@@ -53,6 +53,7 @@ setup(
+         "Programming Language :: Python :: 3.10",
+         "Programming Language :: Python :: 3.11",
+         "Programming Language :: Python :: 3.12",
++        "Programming Language :: Python :: 3.13",
+         "Topic :: Scientific/Engineering :: GIS",
+     ]
+ )



Home | Main Index | Thread Index | Old Index