[arch-commits] Commit in python-dockerpty/repos/community-any (PKGBUILD PKGBUILD)
Andrew Crerar
andrewsc at archlinux.org
Mon Apr 1 16:41:39 UTC 2019
Date: Monday, April 1, 2019 @ 16:41:38
Author: andrewsc
Revision: 446949
archrelease: copy trunk to community-any
Added:
python-dockerpty/repos/community-any/PKGBUILD
(from rev 446948, python-dockerpty/trunk/PKGBUILD)
Deleted:
python-dockerpty/repos/community-any/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++--------------------------------------
1 file changed, 32 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-01 16:25:16 UTC (rev 446948)
+++ PKGBUILD 2019-04-01 16:41:38 UTC (rev 446949)
@@ -1,51 +0,0 @@
-# $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-dockerpty python2-dockerpty)
-pkgver=0.4.1
-pkgrel=3
-pkgdesc="Python library to use the pseudo-tty of a docker container"
-arch=('any')
-license=('Apache')
-url="https://github.com/d11wtq/dockerpty"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-docker-py' 'python2-docker-py'
- 'python-six' 'python2-six' 'git')
-checkdepends=('python-pytest' 'python2-pytest' 'python-expects' 'python2-expects')
-source=("git+https://github.com/d11wtq/dockerpty.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a dockerpty{,-py2}
-}
-
-build() {
- cd "$srcdir/dockerpty"
- python setup.py build
-
- cd "$srcdir/dockerpty-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/dockerpty"
- py.test
-
- cd "$srcdir/dockerpty-py2"
- py.test2
-}
-
-package_python-dockerpty() {
- depends=('python-six' 'python-docker-py')
-
- cd dockerpty
- python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python2-dockerpty() {
- depends=('python2-six' 'python2-docker-py')
-
- cd dockerpty-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: python-dockerpty/repos/community-any/PKGBUILD (from rev 446948, python-dockerpty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-01 16:41:38 UTC (rev 446949)
@@ -0,0 +1,32 @@
+# Maintainer: Andrew Crerar <crerar at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Hideaki Takahashi <mymelo+aur at gmail.com>
+# Contributor: Vincent Demeester <vincent at sbr.pm>
+
+pkgname=python-dockerpty
+pkgver=0.4.1
+pkgrel=4
+pkgdesc="Python library to use the pseudo-tty of a docker container"
+arch=('any')
+license=('Apache')
+url="https://github.com/d11wtq/dockerpty"
+depends=('python-docker-py' 'python-six')
+makedepends=('python-setuptools' 'python-docker-py' 'python-six' 'git')
+checkdepends=('python-pytest' 'python-expects')
+source=("git+https://github.com/d11wtq/dockerpty.git#tag=v$pkgver")
+sha512sums=('SKIP')
+
+build() {
+ cd "$srcdir/dockerpty"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/dockerpty"
+ py.test
+}
+
+package() {
+ cd dockerpty
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list