[arch-commits] Commit in python-docker/repos/community-any (PKGBUILD PKGBUILD)

Andrew Crerar andrewsc at archlinux.org
Mon Apr 1 19:01:25 UTC 2019


    Date: Monday, April 1, 2019 @ 19:01:25
  Author: andrewsc
Revision: 446971

archrelease: copy trunk to community-any

Added:
  python-docker/repos/community-any/PKGBUILD
    (from rev 446968, python-docker/trunk/PKGBUILD)
Deleted:
  python-docker/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  115 ++++++++++++++++++++++---------------------------------------
 1 file changed, 43 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-01 18:57:51 UTC (rev 446970)
+++ PKGBUILD	2019-04-01 19:01:25 UTC (rev 446971)
@@ -1,72 +0,0 @@
-# Maintainer: Andrew Crerar <crerar at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: 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>
-
-pkgbase=python-docker
-pkgname=(python-docker python2-docker)
-pkgver=3.7.0
-pkgrel=1
-pkgdesc="A Python library for the Docker Engine API"
-arch=('any')
-url="https://github.com/docker/docker-py"
-license=("Apache")
-makedepends=('python-pip' 'python2-pip' 'python-requests' 'python2-requests' 'python-six'
-             'python2-six' 'python-websocket-client' 'python2-websocket-client'
-             'python2-backports.ssl_match_hostname' 'python2-ipaddress' 'python-docker-pycreds'
-             'python2-docker-pycreds')
-checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-mock' 'python2-mock'
-              'flake8' 'python2-flake8' 'python-paramiko' 'python2-paramiko')
-checkdepends_x86_64=('docker')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/docker/docker-py/archive/$pkgver.tar.gz")
-sha512sums=('444634a26d0ce7af4850f346286cdac7f2c597aa6ce349c6371dbaa670aa0bcc2fa192221783b2059750d682580e34fcc5e115aeda0884838bf966decf9d0070')
-
-prepare() {
-  sed -i 's/==.*$//' docker-py-$pkgver/{,test-}requirements.txt
-
-  cp -a docker-py-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/docker-py-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/docker-py-$pkgver-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-$pkgver
-  py.test --cov=docker tests/unit
-
-  cd "$srcdir"/docker-py-$pkgver-py2
-  py.test2 --cov=docker tests/unit
-
-  # kill $(<"$srcdir/docker.pid")
-}
-
-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-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-}
-
-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-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-}

Copied: python-docker/repos/community-any/PKGBUILD (from rev 446968, python-docker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-01 19:01:25 UTC (rev 446971)
@@ -0,0 +1,43 @@
+# Maintainer: Andrew Crerar <crerar at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: 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
+pkgver=3.7.2
+pkgrel=1
+pkgdesc="A Python library for the Docker Engine API"
+arch=('any')
+url="https://github.com/docker/docker-py"
+license=("Apache")
+depends=('python-requests' 'python-six' 'python-websocket-client' 'python-docker-pycreds' 'python-paramiko')
+makedepends=('python-pip' 'python-requests' 'python-six' 'python-websocket-client'
+             'python-docker-pycreds')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-timeout'
+              'python-mock' 'python-coverage' 'flake8')
+provides=('python-docker-py')
+conflicts=('python-docker-py')
+replaces=('python-docker-py')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/docker/docker-py/archive/$pkgver.tar.gz")
+sha512sums=('68a4c711dcdb249448ad3ac6d929943cce87c5bda360cf415438bd60db231a0a0115221c9b1ccd278d7dbd1d4027d51bac78321fa5daddb2ec76c153e71274eb')
+
+prepare() {
+  sed -i 's/==.*$//' docker-py-"$pkgver"/{,test-}requirements.txt
+}
+
+build() {
+  cd "$srcdir"/docker-py-"$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/docker-py-"$pkgver"
+  py.test --cov=docker tests/unit
+}
+
+package() {
+  cd docker-py-"$pkgver"
+  python setup.py install -O1 --root="$pkgdir"
+}



More information about the arch-commits mailing list