diff options
author | Ivan Shapovalov | 2017-08-25 17:31:05 +0300 |
---|---|---|
committer | Ivan Shapovalov | 2017-08-25 17:31:05 +0300 |
commit | 6c509ea6190de59791ceed9d5d93b6a4d68481ca (patch) | |
tree | 7a000cc830bb528b13c0d00b21e1c7e2ac015bb2 | |
download | aur-python-affinity.tar.gz |
Initialize with 0.1.0.
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ee6a0ee98d71 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Fri Aug 25 14:30:55 UTC 2017 +pkgbase = python-affinity + pkgdesc = control processor affinity on windows and linux + pkgver = 0.1.0 + pkgrel = 1 + url = https://pypi.python.org/pypi/affinity + arch = any + license = PSFL + makedepends = python2-setuptools + source = https://pypi.python.org/packages/32/a7/69e207c17b4d7f23f7537f97c2938053e6ba24b6206d1856790d2eb8e4d8/affinity-0.1.0.tar.gz + md5sums = cc610cdb05ca675b4089ce2f05796f57 + +pkgname = python2-affinity + depends = python2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dec67c0c91f1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Ivan Shapovalov <intelfx@intelfx.name> + +pkgbase=python-affinity +pkgname=(python2-affinity) +pkgver=0.1.0 +pkgrel=1 + +pkgdesc='control processor affinity on windows and linux' +url='https://pypi.python.org/pypi/affinity' +arch=('any') +license=('PSFL') + +makedepends=('python2-setuptools') + +source=("https://pypi.python.org/packages/32/a7/69e207c17b4d7f23f7537f97c2938053e6ba24b6206d1856790d2eb8e4d8/affinity-0.1.0.tar.gz") + +md5sums=('cc610cdb05ca675b4089ce2f05796f57') + +prepare() { + mv affinity-$pkgver{,-python2} +} + +build() { + cd "$srcdir"/affinity-$pkgver-python2 + python2 setup.py build +} + +package_python2-affinity() { + depends=('python2') + + cd affinity-$pkgver-python2 + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build +} |