summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKokaKiwi2022-01-02 12:06:16 +0100
committerKokaKiwi2022-01-02 12:06:16 +0100
commitee6e93b0c8319457987945472724971aebd9a4a4 (patch)
tree2b38cf3ffc7dbd50ebe2f4c0ce2c887d24cc2352
parent6f28dd36727acc38e66597c150fc2fcc5a41bf51 (diff)
downloadaur-python-parsita.tar.gz
Fix build
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index efa23291316..48ef73a2027 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,13 @@
pkgbase = python-parsita
pkgdesc = Parser combinator library for Python.
pkgver = 1.7.0
- pkgrel = 1
+ pkgrel = 2
url = https://pypi.org/project/parsita
arch = any
license = MIT
+ checkdepends = python-pytest
makedepends = python-setuptools
+ makedepends = python-dephell
depends = python
source = python-parsita-1.7.0.tar.gz::https://github.com/drhagen/parsita/archive/refs/tags/v1.7.0.tar.gz
sha256sums = 080f72c24250d2efbca2a10a388fb9ae6d040ef7bdf62cbd448fd39540ec55a0
diff --git a/PKGBUILD b/PKGBUILD
index a556314cc0b..4e2c67fbfe0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,24 @@
_pkgname=parsita
pkgname="python-${_pkgname}"
pkgver=1.7.0
-pkgrel=1
+pkgrel=2
pkgdesc="Parser combinator library for Python."
arch=('any')
url="https://pypi.org/project/parsita"
license=('MIT')
depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-dephell')
+checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::https://github.com/drhagen/parsita/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('080f72c24250d2efbca2a10a388fb9ae6d040ef7bdf62cbd448fd39540ec55a0')
b2sums=('04851b52cb8386e633c5bde2c603a45dc444c84de3955b2086253b0a06f0a75c0ffcb2a7cd34c4a665686adf543a0b158c53267ac66bf8bc687654f79179aa51')
+prepare() {
+ cd "$_pkgname-$pkgver"
+
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
build() {
cd "$_pkgname-$pkgver"