[arch-commits] Commit in python-docker/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 06:17:33 UTC 2019


    Date: Saturday, October 26, 2019 @ 06:17:33
  Author: foutrelis
Revision: 520255

archrelease: copy trunk to community-staging-any

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

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

Copied: python-docker/repos/community-staging-any/PKGBUILD (from rev 520254, python-docker/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 06:17:33 UTC (rev 520255)
@@ -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=4.1.0
+pkgrel=2
+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=('25e236bd5b429846ed45f26a303af02bb679c526f45f188d8df74d79fcab116b41e52e3a85642babff94127ae977dab6cc93e53bb78aab7be038190e161d25be')
+
+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