aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-cffi
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-17 12:49:08 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-17 13:06:20 +0000
commitc4c977f3ea4d5c1fe0caaa0e9dfe1bc7de06dccc (patch)
tree7ca5405d6b382abc6ef4593cc8c0e0b90b3c88c9 /community/py-cffi
parent61cc9818b982634f84c125ad5dc6099172ff4971 (diff)
downloadaports-c4c977f3ea4d5c1fe0caaa0e9dfe1bc7de06dccc.tar.bz2
aports-c4c977f3ea4d5c1fe0caaa0e9dfe1bc7de06dccc.tar.xz
main/py-cffi: moved from community
Diffstat (limited to 'community/py-cffi')
-rw-r--r--community/py-cffi/APKBUILD51
1 files changed, 0 insertions, 51 deletions
diff --git a/community/py-cffi/APKBUILD b/community/py-cffi/APKBUILD
deleted file mode 100644
index 14e0c78fed..0000000000
--- a/community/py-cffi/APKBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Contributor: William Pitcock <nenolod@dereferenced.org>
-# Maintainer: William Pitcock <nenolod@dereferenced.org>
-pkgname=py-cffi
-_pkgname=cffi
-pkgver=1.7.0
-pkgrel=1
-pkgdesc="A foreign function interface for calling C code from python"
-url="http://cffi.readthedocs.org/"
-arch="noarch"
-license="MIT"
-depends=""
-makedepends="python2-dev python3-dev py-setuptools libffi-dev"
-install=""
-subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$_pkgname-$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"
- arch="all"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-_py2() {
- _py python2
- depends="py2-cparser"
- replaces="$pkgname"
-}
-
-_py3() {
- _py python3
- depends="py3-cparser"
-}
-
-md5sums="34122a545060cee58bab88feab57006d cffi-1.7.0.tar.gz"
-sha256sums="6ed5dd6afd8361f34819c68aaebf9e8fc12b5a5893f91f50c9e50c8886bb60df cffi-1.7.0.tar.gz"
-sha512sums="ce9439a219248b06a6f2d019324f4150576b5e4d853025d61d470105f95af2a6c2387080bfd0308c063ad756f34feead9a5958187d626524594dfe9a3adf7462 cffi-1.7.0.tar.gz"