[arch-commits] Commit in python-marshmallow/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Jun 17 12:46:13 UTC 2019
Date: Monday, June 17, 2019 @ 12:46:12
Author: felixonmars
Revision: 481963
archrelease: copy trunk to community-any
Added:
python-marshmallow/repos/community-any/PKGBUILD
(from rev 481962, python-marshmallow/trunk/PKGBUILD)
Deleted:
python-marshmallow/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-17 12:45:39 UTC (rev 481962)
+++ PKGBUILD 2019-06-17 12:46:12 UTC (rev 481963)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.19.3
-pkgrel=1
-pkgdesc="A lightweight library for converting complex datatypes to and from native Python datatypes."
-url="https://github.com/marshmallow-code/marshmallow"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-simplejson'
- 'python2-simplejson' 'python-pytz' 'python2-pytz' 'python-dateutil'
- 'python2-dateutil')
-source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz")
-sha512sums=('b68f9cefeb802f78e5f207d89acd624b0a2eba68434e890e812d29fec5f40acc9a748eb02046a66c4fe187344c1184025600fd1d980cf8fe9d7523b6014d998b')
-
-prepare() {
- cp -a marshmallow-$pkgver{,-py2}
- rm -r marshmallow-$pkgver-py2/tests/test_py3
-}
-
-build() {
- cd "$srcdir"/marshmallow-$pkgver
- python setup.py build
-
- cd "$srcdir"/marshmallow-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/marshmallow-$pkgver
- python setup.py pytest
-
- cd "$srcdir"/marshmallow-$pkgver-py2
- python2 setup.py pytest
-}
-
-package_python-marshmallow() {
- depends=('python')
-
- cd marshmallow-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-marshmallow() {
- depends=('python2')
-
- cd marshmallow-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-marshmallow/repos/community-any/PKGBUILD (from rev 481962, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-17 12:46:12 UTC (rev 481963)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.19.4
+pkgrel=1
+pkgdesc="A lightweight library for converting complex datatypes to and from native Python datatypes."
+url="https://github.com/marshmallow-code/marshmallow"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-simplejson'
+ 'python2-simplejson' 'python-pytz' 'python2-pytz' 'python-dateutil'
+ 'python2-dateutil')
+source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz")
+sha512sums=('6a3f198ced5fffaa27559cd59fbebb5721c6698d0edc6aee6cc2ba5185ae432915b825407aa6fd58194d2abc7bac217ba146ccff157b035d6db7c1afbf139801')
+
+prepare() {
+ cp -a marshmallow-$pkgver{,-py2}
+ rm -r marshmallow-$pkgver-py2/tests/test_py3
+}
+
+build() {
+ cd "$srcdir"/marshmallow-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/marshmallow-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/marshmallow-$pkgver
+ python setup.py pytest
+
+ cd "$srcdir"/marshmallow-$pkgver-py2
+ python2 setup.py pytest
+}
+
+package_python-marshmallow() {
+ depends=('python')
+
+ cd marshmallow-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-marshmallow() {
+ depends=('python2')
+
+ cd marshmallow-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list