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

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:18:36 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:18:36
  Author: foutrelis
Revision: 1057969

archrelease: copy trunk to community-staging-any

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

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

Copied: python-marshmallow/repos/community-staging-any/PKGBUILD (from rev 1057966, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:18:36 UTC (rev 1057969)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-marshmallow
+pkgver=3.14.0
+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')
+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=('3eed3cb7ba063c6a3503091b46443c6ad96f82e6c21e7ceb047b379dddad4429e59a8e5c828be258433b2743a8231bb338ef96f21767f17ed75fe44138bb0d64')
+
+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