[arch-commits] Commit in python-munch/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Apr 9 17:17:13 UTC 2018
Date: Monday, April 9, 2018 @ 17:17:12
Author: felixonmars
Revision: 315444
archrelease: copy trunk to community-any
Added:
python-munch/repos/community-any/PKGBUILD
(from rev 315443, python-munch/trunk/PKGBUILD)
Deleted:
python-munch/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-09 17:16:56 UTC (rev 315443)
+++ PKGBUILD 2018-04-09 17:17:12 UTC (rev 315444)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-munch
-pkgname=(python-munch python2-munch)
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="A dot-accessible dictionary (a la JavaScript objects)"
-url="https://github.com/Infinidat/munch"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest' 'python-yaml' 'python2-yaml')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/Infinidat/munch/archive/$pkgver.tar.gz")
-sha512sums=('f6ad5a380664246fecf65ba32d8f168f047192d9ca6b02b941d99173677eec235951c59d6fadbce94e3fc32de0e0e7358f319f8c34f623f8da85ee8878048350')
-
-prepare() {
- cp -a munch-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/munch-$pkgver
- python setup.py build
-
- cd "$srcdir"/munch-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/munch-$pkgver
- pytest
-
- cd "$srcdir"/munch-$pkgver-py2
- pytest2
-}
-
-package_python-munch() {
- depends=('python-six')
-
- cd munch-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-munch() {
- depends=('python2-six')
-
- cd munch-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: python-munch/repos/community-any/PKGBUILD (from rev 315443, python-munch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-09 17:17:12 UTC (rev 315444)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-munch
+pkgname=(python-munch python2-munch)
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="A dot-accessible dictionary (a la JavaScript objects)"
+url="https://github.com/Infinidat/munch"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest' 'python-yaml' 'python2-yaml')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/Infinidat/munch/archive/$pkgver.tar.gz")
+sha512sums=('992c7a004d419a972338c1e0b7d1a0f128d4e7624b586427c26712aceb8e0c5ae111f23d07a61fe15d4d3e37acb5b6beec76eead010da574a51425ecdee859cf')
+
+prepare() {
+ cp -a munch-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/munch-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/munch-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/munch-$pkgver
+ pytest
+
+ cd "$srcdir"/munch-$pkgver-py2
+ pytest2
+}
+
+package_python-munch() {
+ depends=('python-six')
+
+ cd munch-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-munch() {
+ depends=('python2-six')
+
+ cd munch-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list