[Git][debian-gis-team/pylibtiff][master] Use python3-setuptools-scm to create version.py.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Jan 2 18:52:24 GMT 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / pylibtiff


Commits:
aa5e05fc by Bas Couwenberg at 2023-01-02T19:43:23+01:00
Use python3-setuptools-scm to create version.py.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pylibtiff (0.5.1-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Use python3-setuptools-scm to create version.py.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 02 Jan 2023 19:42:57 +0100
+
 pylibtiff (0.5.1-1) unstable; urgency=medium
 
   * Upload into unstable.


=====================================
debian/control
=====================================
@@ -12,7 +12,8 @@ Build-Depends: debhelper-compat (= 12),
                python3-bitarray,
                python3-numpy,
                python3-pytest,
-               python3-setuptools
+               python3-setuptools,
+               python3-setuptools-scm
 Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/debian-gis-team/pylibtiff
 Vcs-Git: https://salsa.debian.org/debian-gis-team/pylibtiff.git


=====================================
debian/rules
=====================================
@@ -1,5 +1,11 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/pkg-info.mk
+
+UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION = $(UPSTREAM_VERSION)
+
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/{install_dir}/libtiff/src
 export PYBUILD_DISABLE=test clean



View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/-/commit/aa5e05fc87624e105e3c921f72fd1a0af331065d

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pylibtiff/-/commit/aa5e05fc87624e105e3c921f72fd1a0af331065d
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/20230102/cff0fa64/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list