blob: a526ee1a6abb3ef836bcc91e7ae56fca83e59472 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
set -u
_pyver="python"
_pybase='cement'
pkgname="${_pyver}-${_pybase}"
pkgver='3.0.8'
#pkgver='2.8.2' # for aws-eb-cli
pkgrel='1'
pkgdesc='CLI Application Framework for Python'
arch=('any')
#url="https://pypi.python.org/pypi/${_pybase}/"
url='https://builtoncement.com/'
license=('Apache2') #custom: ISC
makedepends=("${_pyver}" "${_pyver}-distribute") # same as python-setuptools
_srcdir="${_pybase}-${pkgver}"
_verwatch=("https://pypi.org/simple/${_pybase}/" "${_pybase}-\([0-9\.]\+\)\.tar\.gz" 't')
source=("https://pypi.io/packages/source/${_pybase: 0:1}/${_pybase}/${_pybase}-${pkgver}.tar.gz")
md5sums=('039b2d7fc0a502b9fdd431987f073aba')
sha256sums=('ad11a694665e2ad28457c560494f4f8c36a25fc58e500d608a9d91e04e1d3093')
build() {
set -u
cd "${_srcdir}"
${_pyver} setup.py build
set +u
}
check() {
set -u
cd "${_srcdir}"
# If pip is installed, some package tests download missing packages. We can't allow that.
#${_pyver} setup.py test --verbose
set +u
}
package() {
set -u
depends=("${_pyver}") # "${_pydepends[@]}")
cd "${_srcdir}"
${_pyver} setup.py install --root="${pkgdir}"
#install -Dpm644 'LICENSE' "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
set +u
}
set +u
# vim:set ts=2 sw=2 et:
|