[Pkg-freeipa-devel] [Git][freeipa-team/custodia][master] 4 commits: Migrate to python3. (Closes: #939100)

Timo Aaltonen gitlab at salsa.debian.org
Wed Sep 11 22:00:05 BST 2019



Timo Aaltonen pushed to branch master at FreeIPA packaging / custodia


Commits:
a37e998e by Timo Aaltonen at 2019-09-11T20:52:05Z
Migrate to python3. (Closes: #939100)

- - - - -
6cdd0ad6 by Timo Aaltonen at 2019-09-11T20:52:32Z
control: Bump policy to 4.4.0.

- - - - -
488c3155 by Timo Aaltonen at 2019-09-11T20:57:50Z
control: Add adduser to custodia depends.

- - - - -
49297b40 by Timo Aaltonen at 2019-09-11T20:59:46Z
releasing package custodia version 0.6.0-3

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+custodia (0.6.0-3) unstable; urgency=medium
+
+  * Migrate to python3. (Closes: #939100)
+  * control: Bump policy to 4.4.0.
+  * control: Add adduser to custodia depends.
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Wed, 11 Sep 2019 23:59:40 +0300
+
 custodia (0.6.0-2) unstable; urgency=medium
 
   * rules: Set locale so we get an error msg if something goes wrong


=====================================
debian/control
=====================================
@@ -7,18 +7,7 @@ Build-Depends:
  debhelper (>= 11),
  dh-python,
  pep8,
- pylint,
-# pylint3,
- python-all (>= 2.6.6-3),
- python-coverage,
- python-flake8,
- python-jwcrypto (>= 0.4.2),
- python-pep8-naming,
- python-pytest,
- python-requests,
- python-setuptools,
- python-six,
- python-systemd,
+ pylint3,
  python3-all (>= 2.6.6-3),
  python3-coverage,
  python3-flake8,
@@ -30,17 +19,18 @@ Build-Depends:
  python3-six,
  python3-systemd,
  tox,
-Standards-Version: 4.1.2
+Standards-Version: 4.4.0
 Vcs-Git: https://salsa.debian.org/freeipa-team/custodia.git
 Vcs-Browser: https://salsa.debian.org/freeipa-team/custodia
 Homepage: https://github.com/latchset/custodia
 
 Package: custodia
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends},
- python-custodia,
- python-jwcrypto (>= 0.4.2),
- python-six,
+Depends: ${misc:Depends}, ${python3:Depends},
+ adduser,
+ python3-custodia,
+ python3-jwcrypto (>= 0.4.2),
+ python3-six,
 Description: Modular and pluggable Secrets Manager
  Custodia allows one to serve retrieve, manage and store secrets for other
  applications. It is useful for distributed, stateless applications that use
@@ -48,23 +38,6 @@ Description: Modular and pluggable Secrets Manager
  But it is alaso useful to manage distribution of key material across a
  multiple machines over a network.
 
-Package: python-custodia
-Architecture: all
-Depends: ${misc:Depends}, ${python:Depends},
- python-configparser,
- python-cryptography,
- python-jwcrypto (>= 0.4.2),
- python-requests,
- python-systemd,
-Description: Python bindings to Custodia -- Modular and pluggable Secrets Manager
- Custodia allows one to serve retrieve, manage and store secrets for other
- applications. It is useful for distributed, stateless applications that use
- an image file base approach for instantiation like container based images.
- But it is alaso useful to manage distribution of key material across a
- multiple machines over a network.
- .
- This package includes the bindings for python2.
-
 Package: python3-custodia
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends},


=====================================
debian/rules
=====================================
@@ -7,7 +7,7 @@ export PYBUILD_NAME=custodia
 # don't download packages
 export PIP_INDEX_URL=http://host.invalid./
 
-# Don't try to download dnspython3. The package is provided by python-dnspython
+# Don't try to download dnspython3. The package is provided by python3-dnspython
 export PIP_NO_DEPS=yes
 
 # Ignore all install packages to enforce installation of sdist. Otherwise tox
@@ -17,17 +17,15 @@ export PIP_IGNORE_INSTALLED=yes
 export LC_ALL=C.UTF-8
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:
-#	tox --sitepackages -e py27 -- --skip-servertests
 #	tox --sitepackages -e py36 -- --skip-servertests
 
 override_dh_install:
 	mkdir -p debian/tmp/usr/bin debian/tmp/usr/sbin
-	mv debian/python-custodia/usr/bin/custodia-cli debian/tmp/usr/bin
-	mv debian/python-custodia/usr/bin/custodia debian/tmp/usr/sbin
-	rm -rf debian/python-custodia/usr/bin
+	mv debian/python3-custodia/usr/bin/custodia-cli debian/tmp/usr/bin
+	mv debian/python3-custodia/usr/bin/custodia debian/tmp/usr/sbin
 	rm -rf debian/python3-custodia/usr/bin
 
 	dh_install



View it on GitLab: https://salsa.debian.org/freeipa-team/custodia/compare/6fec08416ab2a4a059449802c7277c8c5aa877fe...49297b40928c50fda13b66db43e46b047a6efd6a

-- 
View it on GitLab: https://salsa.debian.org/freeipa-team/custodia/compare/6fec08416ab2a4a059449802c7277c8c5aa877fe...49297b40928c50fda13b66db43e46b047a6efd6a
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/pkg-freeipa-devel/attachments/20190911/fa38c306/attachment-0001.html>


More information about the Pkg-freeipa-devel mailing list