diff options
author | Stefan Gehr | 2023-07-11 17:07:57 +0200 |
---|---|---|
committer | Stefan Gehr | 2023-07-11 17:07:57 +0200 |
commit | 84275d987c8c231fb63f81113517b41e3d3dea01 (patch) | |
tree | 5fb9554e440f52a7bc2cffe0b7a23d2345659840 | |
download | aur-84275d987c8c231fb63f81113517b41e3d3dea01.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ae5dfb80890c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-pexpect-git + pkgdesc = For controlling and automating applications + pkgver = r1600.2532721 + pkgrel = 1 + url = https://pexpect.readthedocs.org/en/stable/ + arch = any + license = MIT + makedepends = git + makedepends = python + depends = python + depends = python-ptyprocess + conflicts = python-pexpect + source = python-pexpect-git::git+https://github.com/pexpect/pexpect + sha512sums = SKIP + +pkgname = python-pexpect-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4a0fdb074153 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Stefan Gehr <stefangehr@protonmail.com> + +pkgname=python-pexpect-git +pkgver="r1600.2532721" +pkgrel=1 +pkgdesc='For controlling and automating applications' +arch=(any) +url='https://pexpect.readthedocs.org/en/stable/' +license=(MIT) +depends=(python python-ptyprocess) +makedepends=(git python) +conflicts=(python-pexpect) +source=("$pkgname"::"git+https://github.com/pexpect/pexpect") +sha512sums=('SKIP') + +pkgver() { + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$pkgname" + python setup.py install --root="$pkgdir" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |