diff options
author | redfish | 2019-08-31 19:34:09 -0400 |
---|---|---|
committer | redfish | 2019-08-31 19:34:09 -0400 |
commit | a775946c77ee008dcd3ba2921b29bc872a2ddb24 (patch) | |
tree | b089490c0c3a32810f669c437632ce0fa6dbc7d9 | |
download | aur-python-varint.tar.gz |
1.0.2
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 26 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..193e5c3a01b7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-varint + pkgdesc = Simple Python varint implementation + pkgver = 1.0.2 + pkgrel = 1 + url = https://pypi.python.org/pypi/varint + arch = any + license = MIT + depends = python + depends = python-setuptools + source = https://pypi.io/packages/source/v/varint/varint-1.0.2.tar.gz + sha256sums = a6ecc02377ac5ee9d65a6a8ad45c9ff1dac8ccee19400a5950fb51d594214ca5 + +pkgname = python-varint + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..0dc2909bf38a --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tar.gz +*.tar.xz + +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bb669fdf6d7e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: redfish <redfish@galactica.pw> + +pkgname=python-varint +_name=varint +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Simple Python varint implementation" +arch=('any') +url="https://pypi.python.org/pypi/varint" +license=('MIT') +depends=('python' + 'python-setuptools' + ) +source=("https://pypi.io/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} + +sha256sums=('a6ecc02377ac5ee9d65a6a8ad45c9ff1dac8ccee19400a5950fb51d594214ca5') |