diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-28 22:35:53 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-29 00:43:16 +0200 |
commit | 3662ca6f176a9e180234b16ff380eab62bb0649e (patch) | |
tree | 2a7ebfd506bada36163d28ffdf09de7e9c383ef1 /community/py-cparser/APKBUILD | |
parent | a41c7f26b5b0363fe6ae57617a7ad0abd986cea8 (diff) | |
download | aports-3662ca6f176a9e180234b16ff380eab62bb0649e.tar.bz2 aports-3662ca6f176a9e180234b16ff380eab62bb0649e.tar.xz |
main/py-cparser: move from community
It's a dependency of main/py-cffi.
Diffstat (limited to 'community/py-cparser/APKBUILD')
-rw-r--r-- | community/py-cparser/APKBUILD | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/community/py-cparser/APKBUILD b/community/py-cparser/APKBUILD deleted file mode 100644 index 90f3624f80..0000000000 --- a/community/py-cparser/APKBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# Contributor: William Pitcock <nenolod@dereferenced.org> -# Maintainer: William Pitcock <nenolod@dereferenced.org> -pkgname=py-cparser -pkgver=2.14 -pkgrel=2 -pkgdesc="a C parser written in Python" -url="https://github.com/eliben/pycparser" -arch="noarch" -license="BSD" -depends="" -makedepends="python2-dev python3-dev py-setuptools" -install="" -subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2" -source="https://files.pythonhosted.org/packages/source/p/pycparser/pycparser-$pkgver.tar.gz" -builddir="$srcdir"/pycparser-$pkgver - -build() { - cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 -} - -package() { - mkdir -p "$pkgdir" -} - -_py() { - local python=$1 - pkgdesc="$pkgdesc - $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -_py2() { - _py python2 - replaces="$pkgname" -} - -_py3() { - _py python3 -} - -md5sums="a2bc8d28c923b4fe2b2c3b4b51a4f935 pycparser-2.14.tar.gz" -sha256sums="7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73 pycparser-2.14.tar.gz" -sha512sums="d5b9ab434a8944898ac23a4f51189db77b02b993bf3e3ca018852b117fc0eb43e460b156beaa5c1d631ad71c81e1649113e9fff7e33506b1e7d4de24d8b464c6 pycparser-2.14.tar.gz" |