[med-svn] [Git][med-team/python-stdlib-list][master] 2 commits: try n error
Robbi Nespu
gitlab at salsa.debian.org
Tue Feb 23 19:12:31 GMT 2021
Robbi Nespu pushed to branch master at Debian Med / stdlib-list
Commits:
2fe3ece8 by robbinespu at 2021-02-24T03:01:42+08:00
try n error
- - - - -
dfd79bbc by robbinespu at 2021-02-24T03:12:24+08:00
Clean egg-info
- - - - -
2 changed files:
- + debian/clean
- debian/rules
Changes:
=====================================
debian/clean
=====================================
@@ -0,0 +1 @@
+stdlib_list.egg-info/
=====================================
debian/rules
=====================================
@@ -2,16 +2,39 @@
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME = stdlib-list
+export PYBUILD_DISABLE=test
#export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/python-stdlib-list/
-export PYBUILD_AFTER_TEST=rm -r {build_dir}/python-stdlib-list/tests; find . -name "__pycache__" -delete; find . -name "*.pyc" -delete
-#export PYBUILD_TEST_ARGS=-k test_dir
-export PYBUILD_TEST_ARGS=--verbose -k 'no test running'
+#export PYBUILD_AFTER_TEST=rm -r {build_dir}/python-stdlib-list/tests; find . -name "__pycache__" -delete; find . -name "*.pyc" -delete
+#export PYBUILD_TEST_ARGS=--verbose -k tests.test_platform
+#export PYBUILD_TEST_ARGS=--verbose -k 'no test running'
+
+PYTHON3=$(shell py3versions -r)
%:
dh $@ --with python3 --buildsystem=pybuild
+#override_dh_auto_build:
+# set -e; \
+# for python in $(PYTHON3); do \
+# $$python setup.py build; \
+# done
+
+#override_dh_install:
+# set -e; \
+# for python in $(PYTHON3); do \
+# $$python setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-stdlib-list; \
+# done
+
+
#override_dh_auto_test:
# dh_auto_test --test-pytest
+#override_dh_auto_test:
+# PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH={build_dir}:$(CURDIR)/tests/mocklib {interpreter} -m pytest tests/ -v" dh_auto_test
+
+
override_dh_installdocs:
dh_installdocs -A README.md
+#override_dh_auto_clean:
+# python3 setup.py clean -a
+
View it on GitLab: https://salsa.debian.org/med-team/python-stdlib-list/-/compare/6e3cce65803ca30bb593232f41bea5238cf9e0e6...dfd79bbc5594f23777becdb3315e1544b1af6d68
--
View it on GitLab: https://salsa.debian.org/med-team/python-stdlib-list/-/compare/6e3cce65803ca30bb593232f41bea5238cf9e0e6...dfd79bbc5594f23777becdb3315e1544b1af6d68
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/debian-med-commit/attachments/20210223/6a5aec15/attachment-0001.htm>
More information about the debian-med-commit
mailing list