[arch-commits] Commit in python-marshmallow/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 17 05:30:51 UTC 2019
Date: Sunday, March 17, 2019 @ 05:30:51
Author: felixonmars
Revision: 442291
archrelease: copy trunk to community-any
Added:
python-marshmallow/repos/community-any/PKGBUILD
(from rev 442290, python-marshmallow/trunk/PKGBUILD)
Deleted:
python-marshmallow/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-17 05:30:33 UTC (rev 442290)
+++ PKGBUILD 2019-03-17 05:30:51 UTC (rev 442291)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.19.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=('19aaf8be30ec908dd74b8f9513d97d228975854ae9ab83323d88a88772d4ed1e16d129dc3bc9808f8f848ee7acb33a33ffca6e21a20ef810132ed9006238a7ec')
-
-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 442290, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-17 05:30:51 UTC (rev 442291)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.19.1
+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=('3ace5ed338f66529e39613e1dcf402965896a8fb1dc60e99d7928f2d972f2fe8d183fd59c03db2afd73b47e89e25fc0018c8feaa6a280d7ebbcbc7ff7ba73f8c')
+
+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