diff options
author | Greg Land | 2022-07-19 03:48:45 -0500 |
---|---|---|
committer | Greg Land | 2022-07-19 03:48:45 -0500 |
commit | 9715f9fb263f9065e5079ed7522ea1be31f5999c (patch) | |
tree | 6cd403b67c23e8444a848a2437fe07bbceb46521 /PKGBUILD | |
download | aur-9715f9fb263f9065e5079ed7522ea1be31f5999c.tar.gz |
added package back that was deleted
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..455acce19eb7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +_name=pyod +pkgname="python-$_name" +pkgver=0.8.3 +pkgrel=1 +arch=('any') +pkgdesc="A Python 3 Library Outlier Detection or Anomaly Detection" +url="https://github.com/yzhao062/pyod" +license=('GPL3') +source=("https://github.com/yzhao062/pyod/archive/V$pkgver.tar.gz") +sha512sums=('486a491ae50ae0acdc9eabba319c101f871534913c7ea518a0bacf7589e8ebaabaf795d4dfeec025cbabeabc23dc9a11aff1c0c58bf4fed5d7b93b9d0bfe0e6b') +depends=( + 'python' +) +makedepends=('python-setuptools') + +build() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 +} |