[arch-commits] Commit in python-docker-py/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Feb 25 02:53:32 UTC 2016
Date: Thursday, February 25, 2016 @ 03:53:31
Author: fyan
Revision: 163354
archrelease: copy trunk to community-any
Added:
python-docker-py/repos/community-any/PKGBUILD
(from rev 163353, python-docker-py/trunk/PKGBUILD)
Deleted:
python-docker-py/repos/community-any/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-25 02:52:33 UTC (rev 163353)
+++ PKGBUILD 2016-02-25 02:53:31 UTC (rev 163354)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Hideaki Takahashi <mymelo+aur at gmail.com>
-# Contributor: Vincent Demeester <vincent at sbr.io>
-# Contributor: Josh VanderLinden <arch at cloudlery.com>
-
-pkgname=(python-docker-py python2-docker-py)
-pkgver=1.7.1
-pkgrel=1
-pkgdesc="Python client for Docker."
-arch=('any')
-url="https://github.com/dotcloud/docker-py"
-license=("Apache")
-makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
- 'python-six' 'python2-six' 'python-websocket-client' 'python2-websocket-client')
-checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-mock' 'python2-mock' 'docker'
- 'flake8' 'python2-flake8')
-source=("git+https://github.com/docker/docker-py.git#tag=$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
- sed -i 's/==.*$//' docker-py/{,test-}requirements.txt
-
- cp -a docker-py{,-py2}
-}
-
-build() {
- cd "$srcdir/docker-py"
- python setup.py build
-
- cd "$srcdir/docker-py-py2"
- python2 setup.py build
-}
-
-check() {
- # Skipping integration tests as docker needs root to run:
- # docker daemon -H fd:// -p "$srcdir/docker.pid"
-
- cd "$srcdir/docker-py"
- py.test tests/unit
-
- cd "$srcdir/docker-py-py2"
- py.test2 tests/unit
-
- # kill $(<"$srcdir/docker.pid")
-}
-
-package_python-docker-py() {
- depends=('python-requests' 'python-six' 'python-websocket-client')
-
- cd "$srcdir/docker-py"
- python setup.py install -O1 --root="$pkgdir"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-docker-py() {
- depends=('python2-requests' 'python2-six' 'python2-websocket-client')
-
- cd "$srcdir/docker-py-py2"
- python2 setup.py install -O1 --root="$pkgdir"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-docker-py/repos/community-any/PKGBUILD (from rev 163353, python-docker-py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-25 02:53:31 UTC (rev 163354)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Hideaki Takahashi <mymelo+aur at gmail.com>
+# Contributor: Vincent Demeester <vincent at sbr.io>
+# Contributor: Josh VanderLinden <arch at cloudlery.com>
+
+pkgname=(python-docker-py python2-docker-py)
+pkgver=1.7.2
+pkgrel=1
+pkgdesc="Python client for Docker."
+arch=('any')
+url="https://github.com/dotcloud/docker-py"
+license=("Apache")
+makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
+ 'python-six' 'python2-six' 'python-websocket-client' 'python2-websocket-client')
+checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-mock' 'python2-mock' 'docker'
+ 'flake8' 'python2-flake8')
+source=("git+https://github.com/docker/docker-py.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ sed -i 's/==.*$//' docker-py/{,test-}requirements.txt
+
+ cp -a docker-py{,-py2}
+}
+
+build() {
+ cd "$srcdir/docker-py"
+ python setup.py build
+
+ cd "$srcdir/docker-py-py2"
+ python2 setup.py build
+}
+
+check() {
+ # Skipping integration tests as docker needs root to run:
+ # docker daemon -H fd:// -p "$srcdir/docker.pid"
+
+ cd "$srcdir/docker-py"
+ py.test tests/unit
+
+ cd "$srcdir/docker-py-py2"
+ py.test2 tests/unit
+
+ # kill $(<"$srcdir/docker.pid")
+}
+
+package_python-docker-py() {
+ depends=('python-requests' 'python-six' 'python-websocket-client')
+
+ cd "$srcdir/docker-py"
+ python setup.py install -O1 --root="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-docker-py() {
+ depends=('python2-requests' 'python2-six' 'python2-websocket-client')
+
+ cd "$srcdir/docker-py-py2"
+ python2 setup.py install -O1 --root="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list