[med-svn] [Git][med-team/python-stdlib-list][master] WIP

Robbi Nespu gitlab at salsa.debian.org
Tue Feb 23 15:11:24 GMT 2021



Robbi Nespu  pushed to branch master at Debian Med / python-stdlib-list


Commits:
33f73bbe by robbinespu at 2021-02-23T23:11:11+08:00
WIP

- - - - -


3 changed files:

- debian/control
- debian/rules
- + debian/source/options


Changes:

=====================================
debian/control
=====================================
@@ -3,7 +3,10 @@ Section: python
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Robbi Nespu <robbinespu at gmail.com>
-Build-Depends: debhelper-compat (= 13)
+Build-Depends: debhelper-compat (= 13),
+                dh-python,
+                python3-all,
+                python3-setuptools
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-stdlib-list
 Vcs-Git: https://salsa.debian.org/med-team/python-stdlib-list.git
@@ -12,7 +15,7 @@ Rules-Requires-Root: no
 
 Package: python-stdlib-list
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends:  ${python3:Depends}, ${misc:Depends}
 Description: A list of Python Standard Libraries (2.6-7, 3.2-9)
  This package includes lists of all of the standard libraries for
  Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, and 3.9 along


=====================================
debian/rules
=====================================
@@ -1,31 +1,17 @@
 #!/usr/bin/make -f
-
-# DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
-
-include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-
+export DH_VERBOSE = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export PYBUILD_NAME = python-stdlib-list
+#export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/astroid/
+#export PYBUILD_AFTER_TEST=rm -r {build_dir}/python-stdlib-list/tests
+#export PYBUILD_TEST_ARGS=-k test_dir
+export PYBUILD_TEST_ARGS=--verbose -k 'no test running'
 %:
-	dh $@
+	dh $@ --with python3 --buildsystem=pybuild
 
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
 #override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
+#	dh_auto_test --test-pytest
+
+override_dh_installdocs:
+	dh_installdocs -A README.md
 
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source


=====================================
debian/source/options
=====================================
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
\ No newline at end of file



View it on GitLab: https://salsa.debian.org/med-team/python-stdlib-list/-/commit/33f73bbee90cada1831ae2d739cec58b7ea7c12c

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-stdlib-list/-/commit/33f73bbee90cada1831ae2d739cec58b7ea7c12c
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/d4113f3a/attachment-0001.htm>


More information about the debian-med-commit mailing list