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

Filipe Laíns ffy00 at archlinux.org
Fri Aug 14 13:27:53 UTC 2020


    Date: Friday, August 14, 2020 @ 13:27:53
  Author: ffy00
Revision: 679139

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-14 13:27:49 UTC (rev 679138)
+++ PKGBUILD	2020-08-14 13:27:53 UTC (rev 679139)
@@ -1,55 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=starlette
-pkgname=python-$_pkgname
-pkgver=0.13.7
-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=('c4839d7a9320001a5cc7b0cdf6633923fbc4e8103780a6e2b76440e4c117bc07f9594c02bee22c497849fedd7e65258c848250997e2a4da14bf1a0e9774f10f8')
-
-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
-}
-

Copied: python-starlette/repos/community-any/PKGBUILD (from rev 679138, python-starlette/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-14 13:27:53 UTC (rev 679139)
@@ -0,0 +1,55 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=starlette
+pkgname=python-$_pkgname
+pkgver=0.13.8
+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=('362d5422868aa8541406e8d69a408bc5acdd64989c5f63e6fe3119a2e842eea248bb8646af9c9e0ac35c5c59a91ee1ff15d064c74d7f760ae536193e13ae9ced')
+
+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