[arch-commits] Commit in python-docker/repos/community-any (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at gemini.archlinux.org
Sat Sep 10 12:06:09 UTC 2022
Date: Saturday, September 10, 2022 @ 12:06:08
Author: foxboron
Revision: 1298835
archrelease: copy trunk to community-any
Added:
python-docker/repos/community-any/PKGBUILD
(from rev 1298834, python-docker/trunk/PKGBUILD)
Deleted:
python-docker/repos/community-any/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-10 12:06:02 UTC (rev 1298834)
+++ PKGBUILD 2022-09-10 12:06:08 UTC (rev 1298835)
@@ -1,43 +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>
-
-pkgname=python-docker
-pkgver=5.0.3
-pkgrel=3
-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=('50890e8d75eb9e4d3d98bbea5f86b86ad199a56ab0761bf2d0c0f3b7902810b2c17c2a677b0063963742a43a4660d400705bb8eb4e217c89302ae849a4ef3e08')
-
-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"
-}
Copied: python-docker/repos/community-any/PKGBUILD (from rev 1298834, python-docker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-10 12:06:08 UTC (rev 1298835)
@@ -0,0 +1,44 @@
+# 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=6.0.0
+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=('3006951ebe6363765116d9cbfb66ba413dfb7df8a07923a1cb94c0f678e0d749a712f4500939169f7063720a7b9fbfdfd24ac86342d5a86e496fd4cc8c32c682')
+
+prepare() {
+ sed -i 's/==.*$//' docker-py-"$pkgver"/{,test-}requirements.txt
+}
+
+build() {
+ cd docker-py-"$pkgver"
+ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+ python setup.py build
+}
+
+check() {
+ cd 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