[arch-commits] Commit in python-docopt/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:38:58 UTC 2020
Date: Monday, November 9, 2020 @ 15:38:58
Author: felixonmars
Revision: 747054
archrelease: copy trunk to community-staging-any
Added:
python-docopt/repos/community-staging-any/
python-docopt/repos/community-staging-any/PKGBUILD
(from rev 747053, python-docopt/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-docopt/repos/community-staging-any/PKGBUILD (from rev 747053, python-docopt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:38:58 UTC (rev 747054)
@@ -0,0 +1,28 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-docopt
+_pkgname=docopt
+pkgver=0.6.2
+pkgrel=8
+pkgdesc="Pythonic argument parser, that will make you smile"
+arch=('any')
+url="https://github.com/docopt/docopt"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491')
+
+build() {
+ # Build Python 3.x module
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+ python setup.py install --skip-build --optimize=1 --root="${pkgdir}"
+ install -D -m 0644 "LICENSE-MIT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list