[arch-commits] Commit in python-docopt/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:49:02 UTC 2019
Date: Thursday, October 31, 2019 @ 16:49:02
Author: foutrelis
Revision: 521165
archrelease: copy trunk to community-staging-any
Added:
python-docopt/repos/community-staging-any/PKGBUILD
(from rev 521164, python-docopt/trunk/PKGBUILD)
Deleted:
python-docopt/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:48:58 UTC (rev 521164)
+++ PKGBUILD 2019-10-31 16:49:02 UTC (rev 521165)
@@ -1,43 +0,0 @@
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgbase=python-docopt
-_pkgname=docopt
-pkgname=('python-docopt' 'python2-docopt')
-pkgver=0.6.2
-pkgrel=6
-pkgdesc="Pythonic argument parser, that will make you smile"
-arch=('any')
-url="https://github.com/docopt/docopt"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491')
-
-prepare(){
- cp -dpr --no-preserve=owner "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-2"
-}
-
-build() {
- # Build Python 3.x module
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py build
- # Build Python 2.x module
- cd "${srcdir}/${_pkgname}-${pkgver}-2"
- python2 setup.py build
-}
-
-package_python-docopt() {
- depends=('python')
- 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"
-}
-
-package_python2-docopt() {
- depends=('python2')
- cd "${_pkgname}-${pkgver}-2"
- python2 setup.py install --skip-build --optimize=1 --root="${pkgdir}"
- install -D -m 0644 "LICENSE-MIT" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-docopt/repos/community-staging-any/PKGBUILD (from rev 521164, python-docopt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:49:02 UTC (rev 521165)
@@ -0,0 +1,43 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgbase=python-docopt
+_pkgname=docopt
+pkgname=('python-docopt' 'python2-docopt')
+pkgver=0.6.2
+pkgrel=7
+pkgdesc="Pythonic argument parser, that will make you smile"
+arch=('any')
+url="https://github.com/docopt/docopt"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491')
+
+prepare(){
+ cp -dpr --no-preserve=owner "${_pkgname}-${pkgver}" "${_pkgname}-${pkgver}-2"
+}
+
+build() {
+ # Build Python 3.x module
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+ # Build Python 2.x module
+ cd "${srcdir}/${_pkgname}-${pkgver}-2"
+ python2 setup.py build
+}
+
+package_python-docopt() {
+ depends=('python')
+ 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"
+}
+
+package_python2-docopt() {
+ depends=('python2')
+ cd "${_pkgname}-${pkgver}-2"
+ python2 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