aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-03-04 11:46:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-03-04 11:46:33 +0000
commite636965ed48ba7b454b922e41514174a62631556 (patch)
treed70259f9ca8a2a46e8be2f1490ee5191282d8bf9 /testing
parent81eb7e3b062d62dff1b82864cdd42732b50f4a9c (diff)
downloadaports-e636965ed48ba7b454b922e41514174a62631556.tar.bz2
aports-e636965ed48ba7b454b922e41514174a62631556.tar.xz
testing/py-telegram-bot: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py-telegram-bot/APKBUILD31
1 files changed, 31 insertions, 0 deletions
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 <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+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"