summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e203b2eb78ec400994ae6ba1920c4b34725343f8 (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: Harriet O'Brien <harrietobrien@protonmail.com>
# Maintainer: Letu Ren <fantasquex@gmail.com>

pkgname=python-etuples
_pkgname=etuples
pkgver=0.3.9
pkgrel=1
pkgdesc="Python S-expression emulation using tuple-like objects."
arch=('any')
url="https://github.com/pythological/${_pkgname}/"
license=('APACHE')
depends=(
    'python-cons'
    'python-multipledispatch'
)
makedepends=(
    'python-setuptools'
)
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('5295b9a6089e3dd25b1773a8f9e1220873dbc9eb9b7232ac7a96511d6c44a128')

build() {
    cd "${_pkgname}-${pkgver}"
    python setup.py build
}

package() {
    cd "${_pkgname}-${pkgver}"
    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}