[arch-commits] Commit in python-marshmallow/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 16 08:58:50 UTC 2019
Date: Sunday, June 16, 2019 @ 08:58:49
Author: felixonmars
Revision: 481819
archrelease: copy trunk to community-any
Added:
python-marshmallow/repos/community-any/PKGBUILD
(from rev 481818, 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-16 08:58:35 UTC (rev 481818)
+++ PKGBUILD 2019-06-16 08:58:49 UTC (rev 481819)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.19.2
-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=('f239fbf93d6fdf8e509169879186b4ef21ae2d3440d8d20e1a3651f674fd8212d6a9b4646e39ca6be7c1bdefd1b235f601c969dd0cf61e3c67fc2109ed5e1e1a')
-
-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 481818, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-16 08:58:49 UTC (rev 481819)
@@ -0,0 +1,53 @@
+# 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
+}
More information about the arch-commits
mailing list