[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 21 08:04:51 UTC 2016


    Date: Friday, October 21, 2016 @ 08:04:50
  Author: felixonmars
Revision: 192801

addpkg: python-docker-pycreds 0.2.1-1

Added:
  python-docker-pycreds/
  python-docker-pycreds/repos/
  python-docker-pycreds/trunk/
  python-docker-pycreds/trunk/PKGBUILD

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

Added: python-docker-pycreds/trunk/PKGBUILD
===================================================================
--- python-docker-pycreds/trunk/PKGBUILD	                        (rev 0)
+++ python-docker-pycreds/trunk/PKGBUILD	2016-10-21 08:04:50 UTC (rev 192801)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Hideaki Takahashi <mymelo+aur at gmail.com>
+# Contributor: Vincent Demeester <vincent at sbr.pm>
+
+pkgname=(python-docker-pycreds python2-docker-pycreds)
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="Python bindings for the docker credentials store API"
+arch=('any')
+license=('Apache')
+url="https://github.com/shin-/docker-pycreds"
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'flake8' 'python2-flake8'
+              'python-pytest-cov' 'python2-pytest-cov')
+source=("git+https://github.com/shin-/dockerpy-creds.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  sed -i 's/==.*$//' dockerpy-creds/test-requirements.txt
+
+  cp -a dockerpy-creds{,-py2}
+}
+
+build() {
+  cd "$srcdir"/dockerpy-creds
+  python setup.py build
+
+  cd "$srcdir"/dockerpy-creds-py2
+  python2 setup.py build
+}
+
+# We don't have docker-credential-secretservice
+check_disabled() {
+  cd "$srcdir"/dockerpy-creds
+  python setup.py ptr
+
+  cd "$srcdir"/dockerpy-creds-py2
+  python2 setup.py ptr
+}
+
+package_python-docker-pycreds() {
+  depends=('python-six')
+
+  cd dockerpy-creds
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-docker-pycreds() {
+  depends=('python2-six')
+
+  cd dockerpy-creds-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}


Property changes on: python-docker-pycreds/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list