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

Jelle van der Waa jelle at gemini.archlinux.org
Wed Oct 27 20:33:22 UTC 2021


    Date: Wednesday, October 27, 2021 @ 20:33:21
  Author: jelle
Revision: 1034800

upgpkg: python-ptyprocess 0.7.0-2

Modified:
  python-ptyprocess/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-27 20:32:57 UTC (rev 1034799)
+++ PKGBUILD	2021-10-27 20:33:21 UTC (rev 1034800)
@@ -1,21 +1,20 @@
 # Maintainer: Kyle Keen <keenerd at gmail.com>
 # Contributor: Will Shanks <wsha dot code at g mail dot com>
 
-pkgbase=python-ptyprocess
-pkgname=(python-ptyprocess python2-ptyprocess)
+pkgname=python-ptyprocess
 _pkgname=ptyprocess
 pkgver=0.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Run a subprocess in a pseudo terminal"
 url="https://github.com/pexpect/ptyprocess"
 arch=('any')
 license=('ISC')
 depends=('python')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools')
 source=("https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
         "LIC-pty-$pkgver::https://raw.githubusercontent.com/pexpect/ptyprocess/master/LICENSE")
 sha512sums=('791d8f2e79900627215ce80ce67ee9c79173dbc08297c6219d5058f9b80c5e323b93049e6836a70c4073f43548d22e3cf310f2e9948ef12f96bcaa15b0ddb2f3'
-            '0847180ae31aeae060c4f127f640d7501eea6285ccfd495f032cfcb09058a0ebfff55b75c8d005aa0d73e6401f61d8203c684f4002775436db1d5599aaba937d')
+            '77465d8319848ad6e4c3811276d6f7f5241f715d1f72012f155f5a1850abc6542fe7a74fcafc39d9801def60884d6d1acc4393700a552e44a05b763ae84970f0')
 
 prepare() {
   cd "$srcdir"
@@ -23,15 +22,8 @@
   mv "LIC-pty-$pkgver" LICENSE
 }
 
-package_python-ptyprocess() {
+package() {
   cd "$srcdir/$_pkgname-$pkgver"
   python3 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
   install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/python-$_pkgname/LICENSE"
 }
-
-package_python2-ptyprocess() {
-  depends=('python2')
-  cd "$srcdir/${_pkgname}2-$pkgver"
-  python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=0
-  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/python2-$_pkgname/LICENSE"
-}



More information about the arch-commits mailing list