![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 9dab55e12ae6ddfa09ccc18c79645d5e78055f86 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sun Nov 12 15:31:12 2017 +1100 [notify] cffi -> python-cffi diff --git a/cffi/Pkgfile b/cffi/Pkgfile deleted file mode 100644 index 633a4ee0..00000000 --- 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/e3d6c3a8b5461b903651dd6ce958ed03c093d...) - -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 similarity index 100% rename from cffi/.footprint rename to python-cffi/.footprint diff --git a/cffi/.md5sum b/python-cffi/.md5sum similarity index 100% rename from cffi/.md5sum rename to python-cffi/.md5sum diff --git a/cffi/.signature b/python-cffi/.signature similarity index 55% rename from cffi/.signature rename to python-cffi/.signature index ff54283c..01ac0ee6 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 00000000..0f58df37 --- /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 +}