[arch-commits] Commit in python-starlette/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Thu Jul 23 14:03:21 UTC 2020


    Date: Thursday, July 23, 2020 @ 14:03:21
  Author: ffy00
Revision: 665005

archrelease: copy trunk to community-any

Added:
  python-starlette/repos/community-any/PKGBUILD
    (from rev 665004, python-starlette/trunk/PKGBUILD)
Deleted:
  python-starlette/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  109 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-23 14:03:18 UTC (rev 665004)
+++ PKGBUILD	2020-07-23 14:03:21 UTC (rev 665005)
@@ -1,54 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=starlette
-pkgname=python-$_pkgname
-pkgver=0.13.4
-pkgrel=1
-pkgdesc='The little ASGI framework that shines'
-arch=('any')
-url='https://github.com/encode/starlette'
-license=('BSD')
-depends=('python')
-optdepends=('python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
-            'python-yaml' 'python-requests' 'python-ujson')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner'
-              'python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
-              'python-yaml' 'python-requests' 'python-ujson')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('ca986f60f1735b73844648c92aec6f4b3695923c806fcab9321912a38c8e53c6c9cd1373ee4912d7bbfe0052666507ad625ae1d16dbf80459534c066aaec828b')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  # python-graphene is broken (FS#66833)
-  rm tests/test_graphql.py
-
-  # needs python-multipart
-  rm tests/test_formparsers.py
-
-  # needs python-databases
-  rm tests/test_database.py
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  # test_request_form_urlencoded needs python-multipart
-  python setup.py pytest --addopts -k-test_request_form_urlencoded
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-starlette/repos/community-any/PKGBUILD (from rev 665004, python-starlette/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-23 14:03:21 UTC (rev 665005)
@@ -0,0 +1,55 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=starlette
+pkgname=python-$_pkgname
+pkgver=0.13.6
+pkgrel=1
+pkgdesc='The little ASGI framework that shines'
+arch=('any')
+url='https://github.com/encode/starlette'
+license=('BSD')
+depends=('python')
+optdepends=('python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
+            'python-yaml' 'python-requests' 'python-ujson')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner'
+              'python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
+              'python-yaml' 'python-requests' 'python-ujson'
+              'python-unidecode')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('f83a82554e2975a77b4a3a897c86834ca2ec70c1f834fe6c212ee4e9854ee3749228e54c8713812143bf8c30a4dc75702e20713d9e9ed44a1837f5ef27e616fb')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  # needs python-multipart
+  rm tests/test_formparsers.py
+
+  # needs python-databases
+  rm tests/test_database.py
+
+  # needs a different graphql version
+  rm tests/test_graphql.py
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  # test_request_form_urlencoded needs python-multipart
+  python setup.py pytest --addopts -k-test_request_form_urlencoded
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list