[Git][debian-gis-team/python-geopandas][master] Revert "Use --pyargs for built library."

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Oct 13 08:37:46 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / python-geopandas


Commits:
a3a040b5 by Bas Couwenberg at 2023-10-13T09:37:33+02:00
Revert "Use --pyargs for built library."

This reverts commit 314ea33f1ab498984d9da5196293ee45727fabce.

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -2,21 +2,19 @@
 
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
+export PYBUILD_NAME=geopandas
 ifeq ($(PYBUILD_AUTOPKGTEST),1)
-TEST_ARGS=--pyargs geopandas
+export PYBUILD_BEFORE_TEST=cp -v debian/nybb_*.zip examples/ && cp -rv examples/ {build_dir} && cp -rv geopandas/ {build_dir}
 else
-TEST_ARGS=geopandas
-endif
-
-export PYBUILD_NAME=geopandas
 export PYBUILD_BEFORE_TEST=cp -v debian/nybb_*.zip examples/ && cp -rv examples/ {build_dir} && mkdir -p {build_dir}/geopandas/tests/ && cp -rv geopandas/tests/data/ {build_dir}/geopandas/tests/
+endif
 export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/examples/ {build_dir}/tests/data/ && rm -f examples/nybb_*.zip
-export PYBUILD_TEST_ARGS=-vv \
- --ignore-glob=*/io/tests/test_file.py \
- --ignore-glob=*/tests/test_geocode.py \
- --ignore-glob=*/tests/test_overlay.py \
- --ignore-glob=*/tests/test_plotting.py \
- ${TEST_ARGS}
+export PYBUILD_TEST_ARGS=-v \
+ --ignore=geopandas/io/tests/test_file.py \
+ --ignore=geopandas/tests/test_geocode.py \
+ --ignore=geopandas/tests/test_overlay.py \
+ --ignore=geopandas/tests/test_plotting.py \
+ geopandas/
 
 %:
 	dh  $@ --buildsystem pybuild



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

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/commit/a3a040b5a0ddc20b232cff055dc1aeabeb1238dd
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/20231013/205de180/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list