[arch-commits] Commit in python-starlette/trunk (PKGBUILD)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Tuesday, November 10, 2020 @ 04:57:48
  Author: foutrelis
Revision: 749198

upgpkg: python-starlette 0.13.8-2: Python 3.9 rebuild

Modified:
  python-starlette/trunk/PKGBUILD

--+
 PKGBUILD |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-10 04:57:44 UTC (rev 749197)
+++ PKGBUILD2020-11-10 04:57:48 UTC (rev 749198)
@@ -3,7 +3,7 @@
 _pkgname=starlette
 pkgname=python-$_pkgname
 pkgver=0.13.8
-pkgrel=1
+pkgrel=2
 pkgdesc='The little ASGI framework that shines'
 arch=('any')
 url='https://github.com/encode/starlette'
@@ -52,4 +52,3 @@
 
   install -Dm 644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
-


[arch-commits] Commit in python-starlette/trunk (PKGBUILD)

2020-08-14 Thread Filipe Laíns via arch-commits
Date: Friday, August 14, 2020 @ 13:27:49
  Author: ffy00
Revision: 679138

upgpkg: python-starlette 0.13.8-1

Modified:
  python-starlette/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-14 13:27:30 UTC (rev 679137)
+++ PKGBUILD2020-08-14 13:27:49 UTC (rev 679138)
@@ -2,7 +2,7 @@
 
 _pkgname=starlette
 pkgname=python-$_pkgname
-pkgver=0.13.7
+pkgver=0.13.8
 pkgrel=1
 pkgdesc='The little ASGI framework that shines'
 arch=('any')
@@ -17,7 +17,7 @@
   'python-yaml' 'python-requests' 'python-ujson'
   'python-unidecode')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('c4839d7a9320001a5cc7b0cdf6633923fbc4e8103780a6e2b76440e4c117bc07f9594c02bee22c497849fedd7e65258c848250997e2a4da14bf1a0e9774f10f8')
+sha512sums=('362d5422868aa8541406e8d69a408bc5acdd64989c5f63e6fe3119a2e842eea248bb8646af9c9e0ac35c5c59a91ee1ff15d064c74d7f760ae536193e13ae9ced')
 
 prepare() {
   cd $_pkgname-$pkgver


[arch-commits] Commit in python-starlette/trunk (PKGBUILD)

2020-08-05 Thread Filipe Laíns via arch-commits
Date: Wednesday, August 5, 2020 @ 15:43:58
  Author: ffy00
Revision: 669609

upgpkg: python-starlette 0.13.7-1

Modified:
  python-starlette/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-05 15:43:37 UTC (rev 669608)
+++ PKGBUILD2020-08-05 15:43:58 UTC (rev 669609)
@@ -2,7 +2,7 @@
 
 _pkgname=starlette
 pkgname=python-$_pkgname
-pkgver=0.13.6
+pkgver=0.13.7
 pkgrel=1
 pkgdesc='The little ASGI framework that shines'
 arch=('any')
@@ -17,7 +17,7 @@
   'python-yaml' 'python-requests' 'python-ujson'
   'python-unidecode')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('f83a82554e2975a77b4a3a897c86834ca2ec70c1f834fe6c212ee4e9854ee3749228e54c8713812143bf8c30a4dc75702e20713d9e9ed44a1837f5ef27e616fb')
+sha512sums=('c4839d7a9320001a5cc7b0cdf6633923fbc4e8103780a6e2b76440e4c117bc07f9594c02bee22c497849fedd7e65258c848250997e2a4da14bf1a0e9774f10f8')
 
 prepare() {
   cd $_pkgname-$pkgver


[arch-commits] Commit in python-starlette/trunk (PKGBUILD)

2020-07-23 Thread Filipe Laíns via arch-commits
Date: Thursday, July 23, 2020 @ 14:03:17
  Author: ffy00
Revision: 665003

upgpkg: python-starlette 0.13.6-1

Modified:
  python-starlette/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-07-23 13:56:37 UTC (rev 665002)
+++ PKGBUILD2020-07-23 14:03:17 UTC (rev 665003)
@@ -27,6 +27,9 @@
 
   # needs python-databases
   rm tests/test_database.py
+
+  # needs a different graphql version
+  rm tests/test_graphql.py
 }
 
 build() {


[arch-commits] Commit in python-starlette/trunk (PKGBUILD)

2020-07-23 Thread Filipe Laíns via arch-commits
Date: Thursday, July 23, 2020 @ 13:56:37
  Author: ffy00
Revision: 665002

upgpkg: python-starlette 0.13.6-1

Modified:
  python-starlette/trunk/PKGBUILD

--+
 PKGBUILD |   10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-23 13:19:13 UTC (rev 665001)
+++ PKGBUILD2020-07-23 13:56:37 UTC (rev 665002)
@@ -2,7 +2,7 @@
 
 _pkgname=starlette
 pkgname=python-$_pkgname
-pkgver=0.13.4
+pkgver=0.13.6
 pkgrel=1
 pkgdesc='The little ASGI framework that shines'
 arch=('any')
@@ -14,16 +14,14 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner'
   'python-aiofiles' 'python-graphene' 'python-itsdangerous' 
'python-jinja'
-  'python-yaml' 'python-requests' 'python-ujson')
+  'python-yaml' 'python-requests' 'python-ujson'
+  'python-unidecode')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('ca986f60f1735b73844648c92aec6f4b3695923c806fcab9321912a38c8e53c6c9cd1373ee4912d7bbfe0052666507ad625ae1d16dbf80459534c066aaec828b')
+sha512sums=('f83a82554e2975a77b4a3a897c86834ca2ec70c1f834fe6c212ee4e9854ee3749228e54c8713812143bf8c30a4dc75702e20713d9e9ed44a1837f5ef27e616fb')
 
 prepare() {
   cd $_pkgname-$pkgver
 
-  # python-graphene is broken (FS#66833)
-  rm tests/test_graphql.py
-
   # needs python-multipart
   rm tests/test_formparsers.py
 


[arch-commits] Commit in python-starlette/trunk (PKGBUILD)

2020-05-29 Thread Filipe Laíns via arch-commits
Date: Friday, May 29, 2020 @ 21:16:03
  Author: ffy00
Revision: 637292

upgpkg: python-starlette 0.13.4-1

Added:
  python-starlette/trunk/PKGBUILD

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

Added: PKGBUILD
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-29 21:16:03 UTC (rev 637292)
@@ -0,0 +1,54 @@
+# Maintainer: Filipe Laíns (FFY00) 
+
+_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
+}
+