Bas Couwenberg pushed to branch master at Debian GIS Project / python-geopandas
Commits: b1004bb3 by Bas Couwenberg at 2023-07-16T19:46:37+02:00 Preserve directory structure in pybuild build directory. - - - - - 2 changed files: - debian/changelog - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -5,6 +5,7 @@ python-geopandas (0.13.2-2) UNRELEASED; urgency=medium * Don't set environment variables in dh_auto_test override. * Use autopkgtest-pkg-pybuild testsuite. * Enable Salsa CI. + * Preserve directory structure in pybuild build directory. -- Bas Couwenberg <[email protected]> Tue, 13 Jun 2023 10:10:05 +0200 ===================================== debian/rules ===================================== @@ -3,13 +3,18 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) export PYBUILD_NAME=geopandas -export PYBUILD_BEFORE_TEST=cp -v debian/nybb_*.zip examples/ && cp -rv examples/ {build_dir} && mkdir -p {build_dir}/tests/ && cp -rv geopandas/tests/data/ {build_dir}/tests/ +ifeq ($(PYBUILD_AUTOPKGTEST),1) +export PYBUILD_BEFORE_TEST=cp -v debian/nybb_*.zip examples/ && cp -rv examples/ {build_dir} && cp -rv geopandas/ {build_dir} +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/ +endif export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/examples/ {build_dir}/tests/data/ && rm -f examples/nybb_*.zip 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 + --ignore=geopandas/tests/test_plotting.py \ + geopandas/ %: dh $@ --with python3,numpy3 --buildsystem pybuild View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/commit/b1004bb39555dfcd47efc709cb30e46ffd858475 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/commit/b1004bb39555dfcd47efc709cb30e46ffd858475 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
