[Git][debian-gis-team/python-pyproj][experimental] 8 commits: Revert "Add pybuild-plugin-pyproject to build dependencies."

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Sep 8 07:32:39 BST 2022



Bas Couwenberg pushed to branch experimental at Debian GIS Project / python-pyproj


Commits:
3602ec50 by Bas Couwenberg at 2022-09-08T05:33:53+02:00
Revert "Add pybuild-plugin-pyproject to build dependencies."

This reverts commit 9ae93503bd9acc3bb9aea546acbda09145c06218.

- - - - -
2878af16 by Bas Couwenberg at 2022-09-08T06:42:30+02:00
New upstream version 3.4.0~rc1
- - - - -
a6be03c2 by Bas Couwenberg at 2022-09-08T06:42:33+02:00
Update upstream source from tag 'upstream/3.4.0_rc1'

Update to upstream version '3.4.0~rc1'
with Debian dir ab695a62ae7d3b3ea0ca9c718e45030229e41e55
- - - - -
18b35a71 by Bas Couwenberg at 2022-09-08T06:46:59+02:00
New upstream release candidate.

- - - - -
b261c721 by Bas Couwenberg at 2022-09-08T06:48:04+02:00
Add pybuild-plugin-pyproject to build dependencies.

- - - - -
f49f0559 by Bas Couwenberg at 2022-09-08T08:10:56+02:00
Reinstate setup.cfg.

- - - - -
d177097f by Bas Couwenberg at 2022-09-08T08:10:56+02:00
Revert "Skip test target, requires installed package."

This reverts commit 78dcfb8d34dd81173812ec880f6d1f83a0a5a89a.

- - - - -
87a07aff by Bas Couwenberg at 2022-09-08T08:23:36+02:00
Set distribution to experimental.

- - - - -


6 changed files:

- debian/changelog
- − debian/patches/pyproject.patch
- debian/patches/series
- + debian/patches/setuptools.patch
- debian/rules
- pyproject.toml


Changes:

=====================================
debian/changelog
=====================================
@@ -1,13 +1,12 @@
-python-pyproj (3.4.0~rc0-1) UNRELEASED; urgency=medium
+python-pyproj (3.4.0~rc1-1~exp1) experimental; urgency=medium
 
   * New upstream release candidate.
   * Unconditionally use PROJ_DATA.
   * Bump minimum required PROJ to 8.2.0.
   * Drop pr1099-PROJ_DATA.patch, included upstream.
-  * Skip test target, requires installed package.
   * Add pybuild-plugin-pyproject to build dependencies.
 
- -- Bas Couwenberg <sebastic at debian.org>  Wed, 07 Sep 2022 21:32:13 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 08 Sep 2022 08:23:17 +0200
 
 python-pyproj (3.3.1-2) unstable; urgency=medium
 


=====================================
debian/patches/pyproject.patch deleted
=====================================
@@ -1,12 +0,0 @@
-Description: Add build-backend to use setuptools.
-Author: Bas Couwenberg <sebastic at debian.org>
-
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,5 +1,6 @@
- [build-system]
- requires = ["setuptools>=61.0.0", "wheel", "cython>=0.28.4"]
-+build-backend = "setuptools.build_meta"
- 
- [project]
- name = "pyproj"


=====================================
debian/patches/series
=====================================
@@ -1 +1 @@
-pyproject.patch
+setuptools.patch


=====================================
debian/patches/setuptools.patch
=====================================
@@ -0,0 +1,61 @@
+Description: Reinstate setup.cfg.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/pyproj4/pyproj/discussions/1134#discussioncomment-3588912
+
+--- /dev/null
++++ b/setup.cfg
+@@ -0,0 +1,54 @@
++[metadata]
++name = pyproj
++version = 3.4.0rc1
++description = Python interface to PROJ (cartographic projections and coordinate transformations library)
++long_description = file: README.md
++long_description_content_type = text/markdown
++author = Jeff Whitaker
++author_email = jeffrey.s.whitaker at noaa.gov
++license = MIT
++license_file = LICENSE
++platform = any
++keywords = GIS, map, geospatial, coordinate-systems, coordinate-transformation, cartographic-projection, geodesic
++classifiers =
++    Development Status :: 4 - Beta
++    Intended Audience :: Science/Research
++    License :: OSI Approved :: MIT License
++    Operating System :: OS Independent
++    Programming Language :: Python
++    Programming Language :: Python :: 3.8
++    Programming Language :: Python :: 3.9
++    Programming Language :: Python :: 3.10
++    Programming Language :: Python :: 3.11
++    Programming Language :: Python :: 3 :: Only
++    Topic :: Scientific/Engineering
++    Topic :: Scientific/Engineering :: GIS
++    Topic :: Scientific/Engineering :: Mathematics
++    Topic :: Software Development :: Libraries :: Python Modules
++    Typing :: Typed
++url = https://github.com/pyproj4/pyproj
++download_url = http://python.org/pypi/pyproj
++project_urls =
++    Documentation = https://pyproj4.github.io/pyproj/
++    Release Notes = https://pyproj4.github.io/pyproj/stable/history.html
++    Bug Tracker = https://github.com/pyproj4/pyproj/issues
++    Source Code = https://github.com/pyproj4/pyproj
++
++[options]
++zip_safe = False # https://mypy.readthedocs.io/en/stable/installed_packages.html
++packages = pyproj,pyproj.crs
++python_requires = >=3.8
++install_requires =
++    certifi
++
++[options.entry_points]
++console_scripts =
++    pyproj = pyproj.__main__:main
++
++[flake8]
++max-line-length = 88
++ignore =
++    C408 # Unnecessary dict/list/tuple call - rewrite as a literal
++    E203 # whitespace before ':' - doesn't work well with black
++    E225 # missing whitespace around operator - let black worry about that
++    W503 # line break occurred before a binary operator - let black worry about that


=====================================
debian/rules
=====================================
@@ -23,8 +23,13 @@ include /usr/share/dpkg/architecture.mk
 		--buildsystem=pybuild
 
 override_dh_auto_test:
-	# Skip, requires installed package, see:
-	# https://github.com/pyproj4/pyproj/discussions/1134#discussioncomment-3588912
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386 hppa hurd-i386 kfreebsd-i386 powerpc))
+	dh_auto_test || echo "Ignoring test failures"
+else
+	dh_auto_test
+endif
+endif
 
 override_dh_python3:
 	dh_python3 -ppython3-pyproj


=====================================
pyproject.toml
=====================================
@@ -1,9 +1,10 @@
 [build-system]
 requires = ["setuptools>=61.0.0", "wheel", "cython>=0.28.4"]
+build-backend = "setuptools.build_meta"
 
 [project]
 name = "pyproj"
-version = "3.4.0rc0"
+version = "3.4.0rc1"
 description = "Python interface to PROJ (cartographic projections and coordinate transformations library)"
 readme = "README.md"
 authors = [
@@ -23,7 +24,7 @@ classifiers = [
     "Development Status :: 4 - Beta",
     "Intended Audience :: Science/Research",
     "License :: OSI Approved :: MIT License",
-    "Operating System :: OS Independe",
+    "Operating System :: OS Independent",
     "Programming Language :: Python",
     "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/9ae93503bd9acc3bb9aea546acbda09145c06218...87a07affe9761e1fecfead089a4ff18eac6be445

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-pyproj/-/compare/9ae93503bd9acc3bb9aea546acbda09145c06218...87a07affe9761e1fecfead089a4ff18eac6be445
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220908/87d16644/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list