[Git][debian-gis-team/python-geopandas][master] 2 commits: Use --pyargs for built library.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Oct 13 07:48:52 BST 2023



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


Commits:
314ea33f by Bas Couwenberg at 2023-10-13T08:45:01+02:00
Use --pyargs for built library.

- - - - -
88948bb3 by Bas Couwenberg at 2023-10-13T08:48:40+02:00
Make pytest output more verbose.

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -2,19 +2,21 @@
 
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
-export PYBUILD_NAME=geopandas
 ifeq ($(PYBUILD_AUTOPKGTEST),1)
-export PYBUILD_BEFORE_TEST=cp -v debian/nybb_*.zip examples/ && cp -rv examples/ {build_dir} && cp -rv geopandas/ {build_dir}
+TEST_ARGS=--pyargs geopandas
 else
-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/
+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/
 export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/examples/ {build_dir}/tests/data/ && rm -f examples/nybb_*.zip
-export PYBUILD_TEST_ARGS=-v \
+export PYBUILD_TEST_ARGS=-vv \
  --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/
+ ${TEST_ARGS}
 
 %:
 	dh  $@ --buildsystem pybuild



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/compare/61cab02284844f173b4b7ac44495b62c5f173b67...88948bb354fa6e8187281b2686a01db6e7027662

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/compare/61cab02284844f173b4b7ac44495b62c5f173b67...88948bb354fa6e8187281b2686a01db6e7027662
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/74eb86ac/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list