diff options
author | adrien1018 | 2021-12-14 13:06:45 +0800 |
---|---|---|
committer | adrien1018 | 2021-12-14 13:06:45 +0800 |
commit | 152cb25e517811a53c3219fb99af0033ebb6469d (patch) | |
tree | 0255ec791fd0110a5a7de9382676203c5b0d47f9 | |
download | aur-152cb25e517811a53c3219fb99af0033ebb6469d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b6ca43859a4b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python2-ptyprocess + pkgdesc = Run a subprocess in a pseudo terminal + pkgver = 0.7.0 + pkgrel = 1 + url = https://github.com/pexpect/ptyprocess + arch = any + makedepends = python2-setuptools + depends = python2 + provides = python2-ptyprocess + source = https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-0.7.0.tar.gz + sha256sums = SKIP + +pkgname = python2-ptyprocess diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..d3f49d0efa15 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.gz +*.zst +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1276e82d665d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Adrien Wu <adrien.sf.wu@gmail.com> +pkgname=python2-ptyprocess +pkgver=0.7.0 +pkgrel=1 +pkgdesc="Run a subprocess in a pseudo terminal" +url="https://github.com/pexpect/ptyprocess" +arch=('any') +provides=('python2-ptyprocess') +depends=('python2') +makedepends=('python2-setuptools') +_name="${pkgname#python2-}" +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('SKIP') + +build() { + cd "$srcdir/$_name-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/$_name-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} |