summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-02-19 14:09:45 +0300
committerCaleb Maclennan2020-02-19 14:09:45 +0300
commitb929c02806769daac5e4e79671e68bcc6f708ccc (patch)
tree45e5a5c1e6e8b0694c542abc174173199e8f5403
parentdfcb78bbfb50f97b6c9972cfee8de66b937d383e (diff)
downloadaur-b929c02806769daac5e4e79671e68bcc6f708ccc.tar.gz
Fix make dependencies
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD20
2 files changed, 12 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 958d0b13c5e..a10646027f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
pkgbase = python-panflute
pkgdesc = A Pythonic alternative to John MacFarlane’s pandocfilters
pkgver = 1.12.4
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/sergiocorreia/panflute
arch = any
license = BSD
- makedepends = python-pip
+ makedepends = python-setuptools
depends = python
depends = python-click
- depends = python-yaml
depends = python-shutilwhich
- provides = pandoc-panflute
- conflicts = pandoc-panflute
+ depends = python-yaml
source = python-panflute-1.12.4.tar.gz::https://github.com/sergiocorreia/panflute/archive/1.12.4.tar.gz
sha256sums = 92f9f712a54151b07af736b3b6ba1733c3602600c84b4407fdb714272ff92565
diff --git a/PKGBUILD b/PKGBUILD
index f8cee59ef9c..a92d97027fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,27 +5,25 @@
_pipname=panflute
pkgname=python-$_pipname
pkgver=1.12.4
-pkgrel=2
+pkgrel=3
pkgdesc='A Pythonic alternative to John MacFarlane’s pandocfilters'
arch=('any')
url="https://github.com/sergiocorreia/$_pipname"
license=('BSD')
-makedepends=('python-pip')
-depends=('python'
- 'python-click'
- 'python-yaml'
- 'python-shutilwhich')
-provides=('pandoc-panflute')
-conflicts=('pandoc-panflute')
+_pydeps=('click'
+ 'shutilwhich'
+ 'yaml')
+depends=('python' "${_pydeps[@]/#/python-}")
+makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sergiocorreia/$_pipname/archive/$pkgver.tar.gz")
sha256sums=('92f9f712a54151b07af736b3b6ba1733c3602600c84b4407fdb714272ff92565')
build() {
- cd "$_name-$pkgver"
+ cd "$_pipname-$pkgver"
python setup.py build
}
package() {
- cd "$_name-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
+ cd "$_pipname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}