[med-svn] [Git][python-team/packages/python-ncls][master] 5 commits: Do not install tests into dist-packages
Maximiliano Curia (@maxy)
gitlab at salsa.debian.org
Wed Oct 21 19:08:21 BST 2026
Maximiliano Curia pushed to branch master at Debian Python Team / packages / python-ncls
Commits:
ed7d41d6 by Maximiliano Curia at 2026-10-21T18:40:26+02:00
Do not install tests into dist-packages
- - - - -
86ba1e5d by Maximiliano Curia at 2026-10-21T19:14:14+02:00
Restrict setuptools package discovery to ncls*
- - - - -
613109c3 by Maximiliano Curia at 2026-10-21T19:14:14+02:00
Prepare team upload
- - - - -
9adce180 by Maximiliano Curia at 2026-10-21T19:14:34+02:00
Release to unstable
- - - - -
ac96c091 by Maximiliano Curia at 2026-10-21T19:37:38+02:00
Add a minimal gbp.conf
- - - - -
5 changed files:
- debian/changelog
- + debian/gpb.conf
- + debian/patches/pyproject-packages.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+python-ncls (0.0.70+ds-3) unstable; urgency=medium
+
+ * Team upload.
+ * Restrict setuptools package discovery to ncls* (Closes: #1151460)
+
+ -- Maximiliano Curia <maxy at debian.org> Wed, 21 Oct 2026 19:14:24 +0200
+
python-ncls (0.0.70+ds-2) unstable; urgency=medium
* Team upload.
=====================================
debian/gpb.conf
=====================================
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
=====================================
debian/patches/pyproject-packages.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Only include ncls packages in wheel build
+Author: Maximiliano Curia <maxy at debian.org>
+Forwarded: no
+Last-Update: 2026-10-21
+
+Index: python-ncls/pyproject.toml
+===================================================================
+--- python-ncls.orig/pyproject.toml
++++ python-ncls/pyproject.toml
+@@ -27,6 +27,7 @@ dev = ["black", "bumpver", "isort", "pip
+
+ [tool.setuptools.packages.find]
+ where = ["."]
++include = ["ncls*"]
+
+ [tool.pytype]
+ inputs = ['ncls']
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
test-all-overlaps-both-32bit.patch
+pyproject-packages.patch
=====================================
debian/rules
=====================================
@@ -7,7 +7,3 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --buildsystem=pybuild
-execute_after_dh_auto_install:
- # Compensate for `where = ["."]` in pyproject.toml.
- rm -rf debian/*/usr/lib/python*/dist-packages/debian
- rm -rf debian/*/usr/lib/python*/dist-packages/examples
View it on GitLab: https://salsa.debian.org/python-team/packages/python-ncls/-/compare/6d1d6148b61c33d8921216a1023f00f703171d60...ac96c0911ae41b007bf984ddfac90fc8130d095d
--
View it on GitLab: https://salsa.debian.org/python-team/packages/python-ncls/-/compare/6d1d6148b61c33d8921216a1023f00f703171d60...ac96c0911ae41b007bf984ddfac90fc8130d095d
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20261021/5f3b6a62/attachment-0001.htm>
More information about the debian-med-commit
mailing list