[arch-commits] Commit in python-marshmallow/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Aug 11 07:52:11 UTC 2019
Date: Sunday, August 11, 2019 @ 07:52:11
Author: felixonmars
Revision: 498946
archrelease: copy trunk to community-any
Added:
python-marshmallow/repos/community-any/PKGBUILD
(from rev 498942, python-marshmallow/trunk/PKGBUILD)
Deleted:
python-marshmallow/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-11 07:52:09 UTC (rev 498945)
+++ PKGBUILD 2019-08-11 07:52:11 UTC (rev 498946)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.19.5
-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=('5ce2213e85f1ec81af0fe298add458e98561000ad5277f438394eccb382408e4991211e6f60695f4cf888847128a50015a9e6b63c6e0936446a185da000cf095')
-
-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 498942, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-11 07:52:11 UTC (rev 498946)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.20.0
+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=('893336548911ee09054c68e4e2f2d17ab6252d5ec22376e121f2ce6adc8c4c8bed0f5e5d153fba258aaf3400a8cfea28a7bab4292b965b5263c84a62e8adbdba')
+
+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