blob: 8d914a6c6ec2de070dd87fb8ce1b80e33f8168b5 (
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
28
29
30
31
|
# Maintainer: Letu Ren <fantasquex@gmail.com>
pkgname=python-logical-unification
_pkgname=logical-unification
pkgver=0.4.5
pkgrel=1
pkgdesc="Straightforward unification in Python that's extensible via generic functions."
arch=('any')
url="https://github.com/pythological/unification/"
license=('custom')
depends=(
'python-toolz'
'python-multipledispatch'
)
makedepends=(
'python-setuptools'
)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('7c6a6c1b7c6baa0f5b9af93f06cfc8d2419b6b793346b678ed1367c05ce74558')
build() {
cd "${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|