[Git][debian-gis-team/python-cartopy][master] Strip repack suffix form upstream version

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Sat Dec 4 19:23:11 GMT 2021



Antonio Valentino pushed to branch master at Debian GIS Project / python-cartopy


Commits:
cccc61bc by Antonio Valentino at 2021-12-04T19:20:34+00:00
Strip repack suffix form upstream version

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -4,6 +4,7 @@
 #export DH_VERBOSE = 1
 
 include /usr/share/dpkg/pkg-info.mk
+UPSTREAM_VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
@@ -31,7 +32,7 @@ override_dh_auto_clean:
 	$(RM) -r __pycache__
 
 override_dh_auto_configure:
-	echo "version = '$(DEB_VERSION_UPSTREAM)'" > $(CURDIR)/lib/cartopy/_version.py
+	echo "version = '$(UPSTREAM_VERSION)'" > $(CURDIR)/lib/cartopy/_version.py
 	dh_auto_configure
 
 override_dh_auto_test:



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/-/commit/cccc61bc484021d348bab76a83420431b9fafca2

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-cartopy/-/commit/cccc61bc484021d348bab76a83420431b9fafca2
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/20211204/e1c431bb/attachment.htm>


More information about the Pkg-grass-devel mailing list