blob: 9a2bd03892ea504f48479cc63d180d68597cc853 (
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
|
# Maintainer: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=python-tr
pkgver=0.1.2
pkgrel=3
pkgdesc="Pure-Python implementation of the tr algorithm"
arch=('any')
url="https://github.com/ikegami-yukino/python-tr"
license=('GPL2')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('705630c5abd4bfc46e5e799b1002529137b56f730baceffe19a25acc4a9377d5')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|