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

Evangelos Foutras foutrelis at archlinux.org
Thu Oct 31 16:57:52 UTC 2019


    Date: Thursday, October 31, 2019 @ 16:57:52
  Author: foutrelis
Revision: 521213

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-31 16:57:47 UTC (rev 521212)
+++ PKGBUILD	2019-10-31 16:57:52 UTC (rev 521213)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.20.1
-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=('82438d9b4d164ca640ea069ab553ad92280a0b4f5c1aac1defd844d11aebc5efafd52144b2b23a1723c47ebec01a1f6111620d9d046af3a99fc6fb6eb9b91b93')
-
-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-staging-any/PKGBUILD (from rev 521212, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-31 16:57:52 UTC (rev 521213)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.20.1
+pkgrel=3
+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=('82438d9b4d164ca640ea069ab553ad92280a0b4f5c1aac1defd844d11aebc5efafd52144b2b23a1723c47ebec01a1f6111620d9d046af3a99fc6fb6eb9b91b93')
+
+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