diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/chmlib/APKBUILD | 28 | ||||
-rw-r--r-- | testing/podofo/APKBUILD | 33 | ||||
-rw-r--r-- | testing/py-dateutil/APKBUILD | 23 | ||||
-rw-r--r-- | testing/py-importlib/APKBUILD | 23 | ||||
-rw-r--r-- | testing/py-pycountry/APKBUILD | 31 | ||||
-rw-r--r-- | testing/py-qt/APKBUILD | 32 | ||||
-rw-r--r-- | testing/py-sip/APKBUILD | 30 |
7 files changed, 200 insertions, 0 deletions
diff --git a/testing/chmlib/APKBUILD b/testing/chmlib/APKBUILD new file mode 100644 index 000000000..a3b5013ed --- /dev/null +++ b/testing/chmlib/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: +pkgname=chmlib +pkgver=0.40 +pkgrel=0 +pkgdesc="Library for dealing with Microsoft ITSS/CHM format files" +url="http://morte.jedrea.com/~jedwin/projects/chmlib/" +arch="all" +license="LGPL" +depends= +depends_dev= +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2" +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="7ea49ed8c335215c1edc6fae83e6b912 chmlib-0.40.tar.bz2" diff --git a/testing/podofo/APKBUILD b/testing/podofo/APKBUILD new file mode 100644 index 000000000..1b413ebf1 --- /dev/null +++ b/testing/podofo/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: +pkgname=podofo +pkgver=0.9.1 +pkgrel=0 +pkgdesc="A C++ library to work with the PDF file format" +url="http://podofo.sourceforge.net" +arch="all" +license="GPL" +depends= +depends_dev="tiff-dev libpng-dev fontconfig-dev cmake" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. \ + -DPODOFO_BUILD_SHARED=1 \ + -DPODOFO_HAVE_JPEG_LIB=1 \ + -DPODOFO_HAVE_PNG_LIB=1 \ + -DPODOFO_HAVE_TIFF_LIB=1 + make || return 1 +} +package() { + cd "$_builddir"/build + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="cec586ab69f92bc88d38b5d4b8eee5a0 podofo-0.9.1.tar.gz" diff --git a/testing/py-dateutil/APKBUILD b/testing/py-dateutil/APKBUILD new file mode 100644 index 000000000..4600e199d --- /dev/null +++ b/testing/py-dateutil/APKBUILD @@ -0,0 +1,23 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: +pkgname=py-dateutil +_pkgname=python-dateutil +pkgver=1.5 +pkgrel=0 +pkgdesc="Provides powerful extensions to the standard datetime module" +url="http://labix.org/python-dateutil" +arch="noarch" +license="PYTHON" +depends= +depends_dev="python-dev py-setuptools" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://labix.org/download/$_pkgname/$_pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver +package() { + cd "$_builddir" + python setup.py install --root=$pkgdir + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE +} +md5sums="35f3732db3f2cc4afdc68a8533b60a52 python-dateutil-1.5.tar.gz" diff --git a/testing/py-importlib/APKBUILD b/testing/py-importlib/APKBUILD new file mode 100644 index 000000000..6ca977817 --- /dev/null +++ b/testing/py-importlib/APKBUILD @@ -0,0 +1,23 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: +pkgname=py-importlib +_pkgname=importlib +pkgver=1.0.1 +pkgrel=0 +pkgdesc="Backport of importlib module from Python 2.7 and up" +url="http://pypi.python.org/pypi/importlib" +arch="noarch" +license="BSD" +depends= +depends_dev="python-dev py-setuptools" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/i/${_pkgname}/${_pkgname}-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver +package() { + cd "$_builddir" + python setup.py install --root=$pkgdir/ --optimize=1 || return 1 +} + +md5sums="1ea851d370b029ed1bfaeb224da210fb importlib-1.0.1.tar.gz" diff --git a/testing/py-pycountry/APKBUILD b/testing/py-pycountry/APKBUILD new file mode 100644 index 000000000..a72eb2eb9 --- /dev/null +++ b/testing/py-pycountry/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: +pkgname=py-pycountry +_pkgname=pycountry +pkgver=0.12.1 +pkgrel=0 +pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations" +url="http://pypi.python.org/pypi/pycountry" +arch="noarch" +license="LGPL2" +depends= +depends_dev="python-dev py-lxml py-setuptools" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/p/${_pkgname}/${_pkgname}-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} +package() { + cd "$_builddir" + python setup.py install --root=$pkgdir/ || return 1 +} +md5sums="d593c50b446850ee40c4a342677100d5 pycountry-0.12.1.tar.gz" diff --git a/testing/py-qt/APKBUILD b/testing/py-qt/APKBUILD new file mode 100644 index 000000000..1d2295178 --- /dev/null +++ b/testing/py-qt/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=py-qt +_pkgname=PyQt +pkgver=4.8.4 +pkgrel=0 +pkgdesc="A set of Python bindings for the Qt toolkit" +url="http://riverbankcomputing.co.uk/software/pyqt/intro" +arch="all" +license="GPL" +depends= +depends_dev="python-dev py-dbus-dev phonon-dev qt-dev py-sip-dev libx11-dev" +makedepends="$depends_dev" +subpackages="" +install= +source="http://riverbankcomputing.co.uk/static/Downloads/${_pkgname}4/${_pkgname}-x11-gpl-$pkgver.tar.gz" +build() { + cd "${srcdir}/PyQt-x11-gpl-${pkgver}" + python configure.py \ + --confirm-license \ + -v /usr/share/sip \ + --qsci-api + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + make +} +package(){ + cd "${srcdir}/PyQt-x11-gpl-${pkgver}" + make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install +} + +md5sums="97c5dc1042feb5b3fe20baabad055af1 PyQt-x11-gpl-4.8.4.tar.gz" diff --git a/testing/py-sip/APKBUILD b/testing/py-sip/APKBUILD new file mode 100644 index 000000000..db13577f2 --- /dev/null +++ b/testing/py-sip/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: +pkgname=py-sip +_pkgname=sip +pkgver=4.12.3 +pkgrel=0 +pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" +url="http://www.riverbankcomputing.com/software/sip/" +arch="all" +license="custom:sip" +depends= +depends_dev="python-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://www.riverbankcomputing.com/static/Downloads/sip4/${_pkgname}-${pkgver}.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver +build() { + cd "$_builddir" + python configure.py + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE +} + +md5sums="d0f1fa60494db04b4d115d4c2d92f79e sip-4.12.3.tar.gz" |