[arch-commits] Commit in python-dockerpty/trunk (PKGBUILD)

Andrew Crerar andrewsc at archlinux.org
Mon Apr 1 16:23:44 UTC 2019


    Date: Monday, April 1, 2019 @ 16:23:43
  Author: andrewsc
Revision: 446946

upgpkg: python-dockerpty 0.4.1-4

python-dockerpty: Remove python2 split

Modified:
  python-dockerpty/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++---------------------------
 1 file changed, 9 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-01 16:06:49 UTC (rev 446945)
+++ PKGBUILD	2019-04-01 16:23:43 UTC (rev 446946)
@@ -1,50 +1,32 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# 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 python2-dockerpty)
+pkgname=python-dockerpty
 pkgver=0.4.1
-pkgrel=3
+pkgrel=4
 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')
+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")
-md5sums=('SKIP')
+sha512sums=('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')
-
+package() {
   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
-}


More information about the arch-commits mailing list