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

Felix Yan felixonmars at archlinux.org
Sat Jun 30 01:40:13 UTC 2018


    Date: Saturday, June 30, 2018 @ 01:40:13
  Author: felixonmars
Revision: 347814

archrelease: copy trunk to community-staging-any

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

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

Copied: python-ptyprocess/repos/community-staging-any/PKGBUILD (from rev 347813, python-ptyprocess/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 01:40:13 UTC (rev 347814)
@@ -0,0 +1,38 @@
+# $Id$
+# 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=ptyprocess
+pkgver=0.5.2
+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')
+source=("https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+       'https://raw.githubusercontent.com/pexpect/ptyprocess/master/LICENSE')
+sha512sums=('cb4e70855d388a6ff691e2a244c072a5a50cf39cdf727e3a4218817bf5ac722c4b49f0dbfd80204259998eba137492690759b8908bfea925842b9f7fc83ee553'
+            '0847180ae31aeae060c4f127f640d7501eea6285ccfd495f032cfcb09058a0ebfff55b75c8d005aa0d73e6401f61d8203c684f4002775436db1d5599aaba937d')
+
+prepare() {
+  cd "$srcdir"
+  cp -r $_pkgname-$pkgver ${_pkgname}2-$pkgver
+}
+
+package_python-ptyprocess() {
+  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