diff options
author | Danilo J. S. Bellini | 2018-11-10 02:37:35 -0200 |
---|---|---|
committer | Danilo J. S. Bellini | 2018-11-10 02:37:35 -0200 |
commit | 7f708855f2aa91ba126898bcacccdcf72e3705c0 (patch) | |
tree | 16b531f9ea094cd44954b27e399180a33edbd801 | |
download | aur-7f708855f2aa91ba126898bcacccdcf72e3705c0.tar.gz |
v4.4.0
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b101256c5394 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = python-axelrod + pkgdesc = Research tool for the Iterated Prisoner's Dilemma + pkgver = 4.4.0 + pkgrel = 1 + url = https://github.com/Axelrod-Python/Axelrod + arch = any + license = MIT + makedepends = python-setuptools + depends = python-dask + depends = python-matplotlib + depends = python-numpy + depends = python-pandas + depends = python-prompt_toolkit + depends = python-scipy + depends = python-tqdm + options = !emptydirs + source = https://github.com/Axelrod-Python/Axelrod/archive/v4.4.0.tar.gz + sha256sums = 1f8f8386ab292877e9c063aa371e0d5709a969cce9cba828ee95567be1858c7e + +pkgname = python-axelrod + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cc49eb3ec063 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Danilo J. S. Bellini <danilo dot bellini at gmail dot com> +pkgname=('python-axelrod') +pkgver=4.4.0 +pkgrel=1 +pkgdesc="Research tool for the Iterated Prisoner's Dilemma" +arch=('any') +url='https://github.com/Axelrod-Python/Axelrod' +license=('MIT') +makedepends=('python-setuptools') +depends=('python-dask' + 'python-matplotlib' 'python-numpy' 'python-pandas' + 'python-prompt_toolkit' 'python-scipy' + 'python-tqdm') +options=(!emptydirs) +sha256sums=('1f8f8386ab292877e9c063aa371e0d5709a969cce9cba828ee95567be1858c7e') +source=("$url/archive/v$pkgver.tar.gz") + +prepare() { + # Avoid installing optional/unrequired dependencies + echo > "$srcdir/Axelrod-$pkgver/requirements.txt" +} + +package() { + cd "$srcdir/Axelrod-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} |