[arch-commits] Commit in python-ptyprocess/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:20:52 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:20:51
  Author: foutrelis
Revision: 1058066

archrelease: copy trunk to community-staging-any

Added:
  python-ptyprocess/repos/community-staging-any/
  python-ptyprocess/repos/community-staging-any/PKGBUILD
    (from rev 1058062, python-ptyprocess/trunk/PKGBUILD)

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

Copied: python-ptyprocess/repos/community-staging-any/PKGBUILD (from rev 1058062, python-ptyprocess/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:20:51 UTC (rev 1058066)
@@ -0,0 +1,29 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Will Shanks <wsha dot code at g mail dot com>
+
+pkgname=python-ptyprocess
+_pkgname=ptyprocess
+pkgver=0.7.0
+pkgrel=3
+pkgdesc="Run a subprocess in a pseudo terminal"
+url="https://github.com/pexpect/ptyprocess"
+arch=('any')
+license=('ISC')
+depends=('python')
+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'
+            '77465d8319848ad6e4c3811276d6f7f5241f715d1f72012f155f5a1850abc6542fe7a74fcafc39d9801def60884d6d1acc4393700a552e44a05b763ae84970f0')
+
+prepare() {
+  cd "$srcdir"
+  cp -r $_pkgname-$pkgver ${_pkgname}2-$pkgver
+  mv "LIC-pty-$pkgver" LICENSE
+}
+
+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"
+}



More information about the arch-commits mailing list