blob: 7968bc6b9d4cb7d8c7b3e70251590eddd28a37ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Daniel Bershatsky <bepshatsky@yandex.ru>
pkgname=python-telepyth
_pkgname=${pkgname#python-}
pkgver=0.1.6
pkgrel=2
pkgdesc='Telegram notification with IPython magics'
arch=('any')
url='https://github.com/daskol/telepyth'
license=('MIT')
groups=()
depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
optdepends=('ipython: Enable IPython magic.')
source=("$_pkgname-$pkgver.tar.gz::https://github.com/daskol/$_pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('2850be1af325535d1d0c63186cd1f791bfe63aba611e6c0c68642228915e2c7c')
build() {
python -m build -nw $_pkgname-$pkgver
}
package() {
python -m installer \
--compile-bytecode 1 \
--destdir $pkgdir \
$srcdir/$_pkgname-$pkgver/dist/$_pkgname-*.whl
}
|