diff options
author | ShadowKyogre | 2016-07-12 17:49:49 -0700 |
---|---|---|
committer | ShadowKyogre | 2016-07-12 17:49:49 -0700 |
commit | 228656cd3e2538308ffbfc5b4716f8bdf40ffcdd (patch) | |
tree | e0bf77d9ffe1ef238dbda86db61da21642a77f48 | |
download | aur-python-pyment-git.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e622ab1bcf54 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Wed Jul 13 00:49:42 UTC 2016 +pkgbase = python-pyment-git + pkgdesc = Create, update or convert docstrings in existing Python files, managing several styles. + pkgver = 0.3.0.r27.ga70de37 + pkgrel = 1 + url = https://github.com/dadadel/pyment + arch = any + license = GPL + makedepends = python-setuptools + depends = python + provides = python-pyment + conflicts = python-pyment + source = git+https://github.com/dadadel/pyment/ + sha256sums = SKIP + +pkgname = python-pyment-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..a5401c5d685d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg/ +src/ +*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b366314c288a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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') |