[arch-commits] Commit in (3 files)
Felix Yan
felixonmars at archlinux.org
Wed Jan 18 07:58:02 UTC 2017
Date: Wednesday, January 18, 2017 @ 07:58:01
Author: felixonmars
Revision: 207857
upstream rename
Added:
python-docker/
Modified:
python-docker/trunk/PKGBUILD
Deleted:
python-docker-py/
----------+
PKGBUILD | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
Modified: python-docker/trunk/PKGBUILD
===================================================================
--- python-docker-py/trunk/PKGBUILD 2017-01-18 07:27:38 UTC (rev 207856)
+++ python-docker/trunk/PKGBUILD 2017-01-18 07:58:01 UTC (rev 207857)
@@ -4,12 +4,12 @@
# Contributor: Vincent Demeester <vincent at sbr.io>
# Contributor: Josh VanderLinden <arch at cloudlery.com>
-pkgname=(python-docker-py python2-docker-py)
-pkgver=1.10.6
-pkgrel=2
-pkgdesc="Python client for Docker."
+pkgname=(python-docker python2-docker)
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="A Python library for the Docker Engine API"
arch=('any')
-url="https://github.com/dotcloud/docker-py"
+url="https://github.com/docker/docker-py"
license=("Apache")
makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
'python-six' 'python2-six' 'python-websocket-client' 'python2-websocket-client'
@@ -48,8 +48,11 @@
# kill $(<"$srcdir/docker.pid")
}
-package_python-docker-py() {
+package_python-docker() {
depends=('python-requests' 'python-six' 'python-websocket-client' 'python-docker-pycreds')
+ provides=('python-docker-py')
+ conflicts=('python-docker-py')
+ replaces=('python-docker-py')
cd docker-py
python setup.py install -O1 --root="$pkgdir"
@@ -56,9 +59,12 @@
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-package_python2-docker-py() {
+package_python2-docker() {
depends=('python2-requests' 'python2-six' 'python2-websocket-client' 'python2-docker-pycreds'
'python2-backports.ssl_match_hostname' 'python2-ipaddress')
+ provides=('python2-docker-py')
+ conflicts=('python2-docker-py')
+ replaces=('python2-docker-py')
cd docker-py-py2
python2 setup.py install -O1 --root="$pkgdir"
More information about the arch-commits
mailing list