blob: 0a2bbdc7c30b399bf0b8b011b09d8f3fe59d824e (
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
|
# Maintainer: Matthias Mailänder <matthias@mailaender.name>
pkgbase='python-lib50'
pkgname=('python-lib50')
_module='lib50'
pkgver='3.0.12'
pkgrel=2
pkgdesc="CS50's own internal library used in many of its tools."
url="https://github.com/cs50/lib50"
depends=('python' 'git' 'python-attrs' 'python-yaml' 'python-pexpect' 'python-requests' 'python-termcolor' )
makedepends=('python-build' 'python-installer' 'python-setuptools')
optdepends=('python-babel')
license=('GPLv3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module/-/_}-$pkgver.tar.gz")
sha256sums=('15ce076f501b49e7ad2b7807d7f7510947c718394ccdfce01757272b749ed355')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|