[arch-commits] Commit in python-marshmallow/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 17 02:56:27 UTC 2019


    Date: Sunday, November 17, 2019 @ 02:56:26
  Author: felixonmars
Revision: 529888

archrelease: copy trunk to community-testing-any

Added:
  python-marshmallow/repos/community-testing-any/
  python-marshmallow/repos/community-testing-any/PKGBUILD
    (from rev 529887, python-marshmallow/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-marshmallow/repos/community-testing-any/PKGBUILD (from rev 529887, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-11-17 02:56:26 UTC (rev 529888)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-marshmallow
+pkgver=3.2.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')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-simplejson' 'python-pytz' 'python-dateutil')
+source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz")
+sha512sums=('ea85f8ed28a1dc0e9ca3cb5d7967f6419d8c81e97aebcb9f1ecffa38577b8892440fde8364eb5453f34f777b212b0558c913f4edf156d93de1d4602da23f7b42')
+
+build() {
+  cd "$srcdir"/marshmallow-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/marshmallow-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd marshmallow-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list