diff options
-rw-r--r-- | cffi/Pkgfile | 17 | ||||
-rw-r--r-- | python-cffi/.footprint (renamed from cffi/.footprint) | 0 | ||||
-rw-r--r-- | python-cffi/.md5sum (renamed from cffi/.md5sum) | 0 | ||||
-rw-r--r-- | python-cffi/.signature (renamed from cffi/.signature) | 4 | ||||
-rw-r--r-- | python-cffi/Pkgfile | 15 |
5 files changed, 17 insertions, 19 deletions
diff --git a/cffi/Pkgfile b/cffi/Pkgfile deleted file mode 100644 index 633a4ee03..000000000 --- a/cffi/Pkgfile +++ /dev/null @@ -1,17 +0,0 @@ -# Description: Foreign Function Interface for Python calling C code. -# URL: http://cffi.readthedocs.org/ -# Maintainer: Danny Rawlins, crux at romster dot me -# Packager: Danny Rawlins, crux at romster dot me -# Depends on: libffi pycparser - -name=cffi -version=1.9.1 -release=1 -source=(https://pypi.python.org/packages/a1/32/e3d6c3a8b5461b903651dd6ce958ed03c093d2e00128e3f33ea69f1d7965/$name-$version.tar.gz) - -build() { - cd $name-$version - - /usr/bin/python setup.py build - /usr/bin/python setup.py install --root=$PKG --optimize=1 -} diff --git a/cffi/.footprint b/python-cffi/.footprint index c13daea8a..c13daea8a 100644 --- a/cffi/.footprint +++ b/python-cffi/.footprint diff --git a/cffi/.md5sum b/python-cffi/.md5sum index fd5873160..fd5873160 100644 --- a/cffi/.md5sum +++ b/python-cffi/.md5sum diff --git a/cffi/.signature b/python-cffi/.signature index ff54283cb..01ac0ee6c 100644 --- a/cffi/.signature +++ b/python-cffi/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3ylZlvhkqPMSIpNUVZPlUO0K6+3JpX1mTn0gBJP8DvgWw23KoNqNijxZGh8znGZcRbGGyvKO692w9XAGT3nnpQk= -SHA256 (Pkgfile) = 9b3331a58fd8831cfeca98e1e23fa0edad6e885a403eb2a828fe58ecc874ab85 +RWSagIOpLGJF3/2SoLeCTgR6jULQsvif9klM8YFmWZJSOoL6O8Odo2UK+wbEDDFVvuHtn8Mjd/Cg2EacYRWiHqP6+EhLZonAiA4= +SHA256 (Pkgfile) = 8fbf70442ffa6ef166caeb2348cb4a7239bc57718e66dd2a782bc3d633c1adb3 SHA256 (.footprint) = 753aba935dd2b0ffe647d117676415500b5c162808cc7145715520735c322879 SHA256 (cffi-1.9.1.tar.gz) = 563e0bd53fda03c151573217b3a49b3abad8813de9dd0632e10090f6190fdaf8 diff --git a/python-cffi/Pkgfile b/python-cffi/Pkgfile new file mode 100644 index 000000000..0f58df37e --- /dev/null +++ b/python-cffi/Pkgfile @@ -0,0 +1,15 @@ +# Description: Foreign Function Interface for Python calling C code. +# URL: http://cffi.readthedocs.org/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: libffi pycparser python-setuptools + +name=python-cffi +version=1.9.1 +release=1 +source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz) + +build() { + cd ${name#*-}-$version + /usr/bin/python setup.py build + /usr/bin/python setup.py install --prefix=/usr --root=$PKG --optimize=1 +} |