[arch-commits] Commit in python-marshmallow/repos/community-testing-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 4 14:13:45 UTC 2018
Date: Saturday, August 4, 2018 @ 14:13:45
Author: felixonmars
Revision: 367906
archrelease: copy trunk to community-testing-any
Added:
python-marshmallow/repos/community-testing-any/PKGBUILD
(from rev 367905, python-marshmallow/trunk/PKGBUILD)
Deleted:
python-marshmallow/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-04 14:13:19 UTC (rev 367905)
+++ PKGBUILD 2018-08-04 14:13:45 UTC (rev 367906)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.15.3
-pkgrel=2
-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=('5cabbb3bb3d3ad3715d30ded56f13e50689f703c1c696bc7d102b32ace5de21528dc465b1d5fe9c07a175170ec53ac7a252aa04fb009d4e77f631414feaab830')
-
-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-testing-any/PKGBUILD (from rev 367905, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-04 14:13:45 UTC (rev 367906)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.15.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=('5cbbf3c0e2d7e615b8944972ec312c5802be0c4f82ddca2bd8a08648c9d22a4334635e875cf1879f75cb763d43460533b795232f48c4b0990255144806b2a08d')
+
+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