Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066276
D4384.id16116.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D4384.id16116.diff
View Options
diff --git a/debian/control b/debian/control
--- a/debian/control
+++ b/debian/control
@@ -36,3 +36,11 @@
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, python3-systemd
Description: Software Heritage core utilities
+
+Package: python3-swh.core.db.pytestplugin
+Architecture: all
+Depends: python3-pytest-postgresql,
+ python3-swh.core (= ${binary:Version}),
+ ${misc:Depends},
+ ${python3:Depends}
+Description: Software Heritage Core Db Pytest Utilities
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,11 @@
override_dh_python3:
dh_python3 --requires=requirements-db.txt --requires=requirements-http.txt
+
+override_dh_install:
+ dh_install
+ for pyvers in $(shell py3versions -vr); do \
+ mkdir -p $(CURDIR)/debian/python3-swh.core.db.pytestplugin/usr/lib/python$$pyvers/dist-packages/swh/core/db ; \
+ mv $(CURDIR)/debian/python3-swh.core/usr/lib/python$$pyvers/dist-packages/swh/core/db/pytest_plugin.py \
+ $(CURDIR)/debian/python3-swh.core.db.pytestplugin/usr/lib/python$$pyvers/dist-packages/swh/core/db/pytest_plugin.py ; \
+ done
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 4:58 AM (8 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217548
Attached To
D4384: debian/*: Separate python3-swh.core.db.pytestplugin package from python3-swh.core
Event Timeline
Log In to Comment