diff options
author | Chris Severance | 2015-09-08 02:41:57 -0400 |
---|---|---|
committer | Chris Severance | 2015-09-08 02:41:57 -0400 |
commit | 129e4394fd9a798234470bbc7df04a9ad8925a9e (patch) | |
tree | 1d027b5467d2620211ffbb02279c66296b18d9a2 | |
download | aur-129e4394fd9a798234470bbc7df04a9ad8925a9e.tar.gz |
Unsplit packages
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b4915e9d4912 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python2-cement + pkgdesc = CLI Application Framework for Python + pkgver = 2.6.2 + pkgrel = 1 + url = http://builtoncement.com/ + arch = any + license = Apache2 + makedepends = python2 + makedepends = python2-distribute + source = http://pypi.python.org/packages/source/c/cement/cement-2.6.2.tar.gz + sha256sums = ba547b342c2e327f2509f9424971f7ae9dd61ec884cb62c80f45d88bdf4bd27b + +pkgname = python2-cement + depends = python2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3246ebea951b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com + +set -u +_pyver="python2" +_pybase='cement' +pkgname="${_pyver}-${_pybase}" +pkgver='2.6.2' +pkgrel='1' +pkgdesc='CLI Application Framework for Python' +arch=('any') +#url="https://pypi.python.org/pypi/${_pybase}/" +url='http://builtoncement.com/' +license=('Apache2') #custom: ISC +makedepends=("${_pyver}" "${_pyver}-distribute") # same as python-setuptools +_srcdir="${_pybase}-${pkgver}" +#_verwatch=("https://pypi.python.org/simple/${_pybase}/" "${_pybase}-\([0-9\.]\+\)\.tar\.gz" 't') +source=("http://pypi.python.org/packages/source/${_pybase: 0:1}/${_pybase}/${_pybase}-${pkgver}.tar.gz") +sha256sums=('ba547b342c2e327f2509f9424971f7ae9dd61ec884cb62c80f45d88bdf4bd27b') + +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: |