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

Andrew Crerar andrewsc at archlinux.org
Fri Mar 30 19:39:36 UTC 2018


    Date: Friday, March 30, 2018 @ 19:39:36
  Author: andrewsc
Revision: 313581

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  150 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-30 19:39:14 UTC (rev 313580)
+++ PKGBUILD	2018-03-30 19:39:36 UTC (rev 313581)
@@ -1,75 +0,0 @@
-# $Id$
-# 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.2.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')
-checkdepends_x86_64=('docker')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/docker/docker-py/archive/$pkgver.tar.gz")
-sha512sums=('fa36b65a047aec6dbec07b2ee5ac895b333acc804e372b5b3ccae587045fa03613f4083c66cd6289e188fd78c6f7012c4252e9bbf9f30a980fb94f32efba03b7')
-
-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"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-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"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-docker/repos/community-any/PKGBUILD (from rev 313580, python-docker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-30 19:39:36 UTC (rev 313581)
@@ -0,0 +1,75 @@
+# $Id$
+# 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.2.1
+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')
+checkdepends_x86_64=('docker')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/docker/docker-py/archive/$pkgver.tar.gz")
+sha512sums=('c66f960bd507d8c4ed99e56480c24d11b13cf49420eee2f0934cede7516a8a9b984e5e0540a1d82d830768d3a5f0218dddd61255d55e7bd1b984072cd6e48a44')
+
+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"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+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"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list