From e636965ed48ba7b454b922e41514174a62631556 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Fri, 4 Mar 2016 11:46:33 +0000 Subject: testing/py-telegram-bot: new aport --- testing/py-telegram-bot/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/py-telegram-bot/APKBUILD (limited to 'testing') diff --git a/testing/py-telegram-bot/APKBUILD b/testing/py-telegram-bot/APKBUILD new file mode 100644 index 0000000000..ddeab6cca7 --- /dev/null +++ b/testing/py-telegram-bot/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=py-telegram-bot +_pkgname=${pkgname/py/python} +pkgver=3.3 +pkgrel=0 +pkgdesc="A Python wrapper around the Telegram Bot API" +url="https://github.com/python-telegram-bot/python-telegram-bot" +arch="noarch" +license="LGPLv3" +depends="py-futures" +depends_dev="" +makedepends="$depends_dev py-setuptools" +install="" +subpackages="" +source="$pkgname-$pkgver.zip::https://github.com/$_pkgname/$_pkgname/archive/v$pkgver.zip" +_builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build +} + +package() { + cd "$_builddir" + python setup.py install --root="$pkgdir" --optimize=1 +} + +md5sums="cfc360e1bea991ea6aec50d0a57f4b73 py-telegram-bot-3.3.zip" +sha256sums="cc39bceb17c343758bcc9649e7931e36388bac6b2a3fd181841c0e4403c4dd60 py-telegram-bot-3.3.zip" +sha512sums="b827905d2e58491ef5566dc4758be32f33c1ccfc637c279725504d26af1628c07cb654f6aa2a067336c868b9cfe8f7a646725b9075d261d718be1b3be2968a29 py-telegram-bot-3.3.zip" -- cgit v1.2.3