summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2020-06-23 20:06:57 +0800
committerlilac2020-06-23 20:06:57 +0800
commitb856d34710ce5f6bdad4a0af40fa7cc4126dd93e (patch)
tree20d5a3267ed7aabaffbb60e727ada6c94233bbdc
parent224af1319c41e4072f04b932f8f0c5f645584e77 (diff)
downloadaur-b856d34710ce5f6bdad4a0af40fa7cc4126dd93e.tar.gz
update by lilac
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD24
2 files changed, 37 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c40a11488a3..8e51d773b13 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,26 @@
pkgbase = python-visions
pkgdesc = Type System for Data Analysis in Python
pkgver = 0.4.4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/dylan-profiler/visions
arch = any
license = BSD
- checkdepends = mypy
- checkdepends = python-black
- checkdepends = python-isort
- checkdepends = python-recommonmark
+ checkdepends = python-imagehash
+ checkdepends = python-matplotlib
+ checkdepends = python-pillow
+ checkdepends = python-pydot
+ checkdepends = python-pytest
+ checkdepends = python-pytest-black
+ checkdepends = python-pytest-mypy
+ checkdepends = python-shapely
+ checkdepends = twine
+ makedepends = mypy
+ makedepends = python-black
+ makedepends = python-isort
+ makedepends = python-recommonmark
makedepends = python-setuptools
+ makedepends = python-sphinx-autodoc-typehints
+ makedepends = python-sphinx_rtd_theme
depends = python-attrs
depends = python-networkx
depends = python-numpy
diff --git a/PKGBUILD b/PKGBUILD
index e7fbc24ec61..5582c45caa4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-visions
_pkgname=visions
pkgver=0.4.4
-pkgrel=1
+pkgrel=2
pkgdesc='Type System for Data Analysis in Python'
arch=('any')
url='https://github.com/dylan-profiler/visions'
@@ -15,12 +15,25 @@ depends=(
python-pandas
python-tangled-up-in-unicode
)
-makedepends=(python-setuptools)
-checkdepends=(
+makedepends=(
mypy
python-black
python-isort
python-recommonmark
+ python-setuptools
+ python-sphinx-autodoc-typehints
+ python-sphinx_rtd_theme
+)
+checkdepends=(
+ python-imagehash
+ python-matplotlib
+ python-pillow
+ python-pydot
+ python-pytest
+ python-pytest-black
+ python-pytest-mypy
+ python-shapely
+ twine
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/dylan-profiler/visions/archive/v${pkgver}.tar.gz")
sha512sums=('b9bec32786a5bf9d7c4e26bd6d13f03bf1bee227d697b8416f659f9b7b15f2f346b046d3b65a56988564658d187e0add9cef08368bf303400397b8aa5914a299')
@@ -30,6 +43,11 @@ build() {
python setup.py build
}
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ pytest -v
+}
+
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build