summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorButui Hu2020-06-22 21:52:12 +0800
committerButui Hu2020-06-22 21:52:12 +0800
commit224af1319c41e4072f04b932f8f0c5f645584e77 (patch)
tree4e5ad9950d49f6642377a46a1bbb127fe48103cc
downloadaur-224af1319c41e4072f04b932f8f0c5f645584e77.tar.gz
first commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD38
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c40a11488a3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = python-visions
+ pkgdesc = Type System for Data Analysis in Python
+ pkgver = 0.4.4
+ pkgrel = 1
+ url = https://github.com/dylan-profiler/visions
+ arch = any
+ license = BSD
+ checkdepends = mypy
+ checkdepends = python-black
+ checkdepends = python-isort
+ checkdepends = python-recommonmark
+ makedepends = python-setuptools
+ depends = python-attrs
+ depends = python-networkx
+ depends = python-numpy
+ depends = python-pandas
+ depends = python-tangled-up-in-unicode
+ source = visions-0.4.4.tar.gz::https://github.com/dylan-profiler/visions/archive/v0.4.4.tar.gz
+ sha512sums = b9bec32786a5bf9d7c4e26bd6d13f03bf1bee227d697b8416f659f9b7b15f2f346b046d3b65a56988564658d187e0add9cef08368bf303400397b8aa5914a299
+
+pkgname = python-visions
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e7fbc24ec61
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Butui Hu <hot123tea123@gmail.com>
+
+pkgname=python-visions
+_pkgname=visions
+pkgver=0.4.4
+pkgrel=1
+pkgdesc='Type System for Data Analysis in Python'
+arch=('any')
+url='https://github.com/dylan-profiler/visions'
+license=('BSD')
+depends=(
+ python-attrs
+ python-networkx
+ python-numpy
+ python-pandas
+ python-tangled-up-in-unicode
+)
+makedepends=(python-setuptools)
+checkdepends=(
+ mypy
+ python-black
+ python-isort
+ python-recommonmark
+)
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/dylan-profiler/visions/archive/v${pkgver}.tar.gz")
+sha512sums=('b9bec32786a5bf9d7c4e26bd6d13f03bf1bee227d697b8416f659f9b7b15f2f346b046d3b65a56988564658d187e0add9cef08368bf303400397b8aa5914a299')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+# vim:set ts=2 sw=2 et: