diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
3 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d2e3c83c2ae7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-collective-checkdocs + pkgdesc = Distutils command to view and validate restructured text in package’s long_description + pkgver = 0.2 + pkgrel = 1 + url = https://github.com/collective/collective.checkdocs + arch = any + license = GPL + depends = python + depends = python-docutils + source = https://pypi.python.org/packages/source/c/collective.checkdocs/collective.checkdocs-0.2.zip + md5sums = 472a6c7cafad4ee274c905ebd1603fb3 + +pkgname = python-collective-checkdocs + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..125d0b52ffcd --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/src/ +/pkg/ +/*.zip +/*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..33b5d32c1531 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,16 @@ +_name=collective.checkdocs +pkgname=python-collective-checkdocs +pkgver=0.2 +pkgrel=1 +pkgdesc='Distutils command to view and validate restructured text in package’s long_description' +arch=(any) +url="https://github.com/collective/$_name" +license=(GPL) +depends=(python python-docutils) +source=("https://pypi.python.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip") +md5sums=('472a6c7cafad4ee274c905ebd1603fb3') + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 || return 1 +} |