blob: b366314c288a5624315cd5110f729754167cafed (
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
|
# Maintainer: Sapphira Armageddos <shadowkyogre.public@gmail.com>
_upstream=pyment
pkgname=python-pyment-git
pkgver=0.3.0.r27.ga70de37
pkgrel=1
pkgdesc="Create, update or convert docstrings in existing Python files, managing several styles."
arch=(any)
url="https://github.com/dadadel/${_upstream}"
license=(GPL)
depends=(python)
provides=('python-pyment')
conflicts=('python-pyment')
makedepends=(python-setuptools)
source=("git+https://github.com/dadadel/${_upstream}/")
pkgver() {
cd "${srcdir}/${_upstream}"
git describe --long --tags|sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package () {
cd "${srcdir}/${_upstream}"
python setup.py install --root="${pkgdir}/" --optimize=1
}
sha256sums=('SKIP')
|