diff options
author | Renato Lui Geh | 2020-01-28 15:50:10 -0300 |
---|---|---|
committer | Renato Lui Geh | 2020-01-28 15:50:10 -0300 |
commit | e2db36b1491a0f54e238eaf8747bb2a5c9958dff (patch) | |
tree | ca729684bba86bfc2bd5db084582eb9fb3aab869 /PKGBUILD | |
download | aur-python-arff.tar.gz |
Create PKGBUILD
Signed-off-by: Renato Lui Geh <renatogeh@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c82ebd0ee25d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Renato Lui Geh <renatogeh at gmail dot com> + +pkgname=python-arff +_pypiname=${pkgname/python-/} +pkgver=0.9 +pkgrel=1 +pkgdesc="Python package for reading and writing Weka arff files" +arch=('any') +url="https://pypi.org/project/arff/" +license=('BSD') +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/50/de/62d4446c5a6e459052c2f2d9490c370ddb6abc0766547b4cef585913598d/${_pypiname}-${pkgver}.tar.gz") +sha256sums=('a4013e25a01a88a08e33aae60ec5c66deba0565709d056d2c20819d032fdd1eb') + +build() { + cd $srcdir/${_pypiname}-${pkgver} + python3 setup.py build +} + +package() { + cd $srcdir/${_pypiname}-${pkgver} + python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build +} + |