python3-grako: fetch from PyPi

Rev-Bumped in e8bcec4a58 (python-grako: drop package, 2020-09-25),
but that version failed to be buillt.
This commit is contained in:
Đoàn Trần Công Danh 2020-09-27 10:53:11 +07:00
parent 6f3abb02f7
commit 0c04ff0469

View file

@ -2,7 +2,7 @@
pkgname=python3-grako pkgname=python3-grako
version=3.99.9 version=3.99.9
revision=5 revision=5
wrksrc="neogeny-${pkgname/python-/}-275d3c4fe4ac" wrksrc="grako-$version"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython" hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel" makedepends="python3-devel"
@ -11,10 +11,9 @@ short_desc="Grammar compiler, EBNF input, PEG/Packrat parser output (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause" license="BSD-2-Clause"
homepage="https://bitbucket.org/neogeny/grako" homepage="https://bitbucket.org/neogeny/grako"
distfiles="https://bitbucket.org/neogeny/grako/get/${version}.tar.bz2" distfiles="$PYPI_SITE/g/grako/grako-$version.zip"
checksum=82cc8d601a272106ed3bbc09f37b04b85f21cbe4c8bbebb41bb9d57ac419696f checksum=fcc37309eab7cd0cbbb26cfd6a54303fbb80a00a58ab295d1e665bc69189c364
conflicts="python-grako>=0" conflicts="python-grako>=0"
broken="Can't fetch source"
pre_build() { pre_build() {
sed -i '/setup_requires=/d' setup.py sed -i '/setup_requires=/d' setup.py