blob: 69d6ed36c6aad9e1ca967c922e0dae9bc2c7590c (
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
|
# Maintainer: gkmcd <g@dramati.cc>
pkgname=('python-pyscaffold')
pkgver=3.1
pkgrel=3
pkgdesc="Python project template generator with batteries included"
url="https://pyscaffold.org/"
arch=('any')
license=('MIT')
depends=('python' 'python-setuptools-scm')
optdepends=('python-django: Scaffold Django projects.'
'python-cookiecutter: Create custom scaffold templates.'
'python-pre-commit: Use Git pre-commit hooks.'
'python-sphinx: Support building documentation with Sphinx.'
'python-pytest: Use the integrated unit testing.'
'python-pytest-runner: Use the integrated unit testing.'
'python-pytest-cov: Generate a coverage report for your project.')
# makedepends=('python-setuptools-scm' 'python-pbr' 'python-wheel')
makedepends=('git' 'python-wheel')
source=("pyscaffold-${pkgver}::git+https://github.com/blue-yonder/pyscaffold.git#tag=v${pkgver}")
md5sums=('SKIP')
build() {
cd "${srcdir}"/pyscaffold-$pkgver
python setup.py build
}
package_python-pyscaffold() {
cd "${srcdir}/pyscaffold-$pkgver"
python setup.py install --root=${pkgdir}
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|