[SCM] mediagoblin/master: Install Python library in separate binary package.

js at users.alioth.debian.org js at users.alioth.debian.org
Mon Aug 21 18:02:04 UTC 2017


The following commit has been merged in the master branch:
commit e1076884a1b3fc3fb257f5c1bbd022b8d5c00f14
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Aug 21 16:39:44 2017 +0200

    Install Python library in separate binary package.

diff --git a/debian/control b/debian/control
index 4351353..4aa42f0 100644
--- a/debian/control
+++ b/debian/control
@@ -49,6 +49,19 @@ Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/mediagoblin.git
 Package: mediagoblin
 Architecture: all
 Depends:
+ python3-mediagoblin,
+ ${misc:Depends},
+Suggests:
+ mediagoblin-doc,
+Description: web application for publishing all kinds of media
+ GNU MediaGoblin is a free software media publishing platform that
+ anyone can run. You can think of it as a decentralized alternative to
+ Flickr, YouTube, SoundCloud, etc.
+
+Package: python3-mediagoblin
+Architecture: all
+Section: python
+Depends:
  python3-alembic,
  python3-babel,
  python3-bcrypt,
@@ -90,10 +103,12 @@ Recommends:
 Suggests:
  mediagoblin-doc,
  python-nose,
-Description: web application for publishing all kinds of media
+Description: web application for publishing all kinds of media - Python libs
  GNU MediaGoblin is a free software media publishing platform that
  anyone can run. You can think of it as a decentralized alternative to
  Flickr, YouTube, SoundCloud, etc.
+ .
+ This package contains Python libraries for MediaGoblin.
 
 Package: mediagoblin-doc
 Architecture: all
diff --git a/debian/rules b/debian/rules
index b7102a8..3cf3d55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,10 @@
 include /usr/share/dpkg/pkg-info.mk
 EXP_RELEASE = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))
 
-export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/mediagoblin/ --install-scripts=/usr/share/mediagoblin/
+python3_default = $(shell py3versions -d)
+export PYBUILD_NAME = mediagoblin
+export PYBUILD_INSTALL_ARGS = \
+	--install-scripts='/usr/share/mediagoblin/'
 export PYBUILD_TEST_PYTEST = 1
 
 %:

-- 
mediagoblin packaging



More information about the pkg-multimedia-commits mailing list