[arch-commits] Commit in python-starlette/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 23:07:24 UTC 2021
Date: Thursday, December 2, 2021 @ 23:07:24
Author: felixonmars
Revision: 1062911
archrelease: copy trunk to community-staging-any
Added:
python-starlette/repos/community-staging-any/PKGBUILD
(from rev 1062910, python-starlette/trunk/PKGBUILD)
Deleted:
python-starlette/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 23:07:18 UTC (rev 1062910)
+++ PKGBUILD 2021-12-02 23:07:24 UTC (rev 1062911)
@@ -1,56 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=starlette
-pkgname=python-$_pkgname
-pkgver=0.14.2
-pkgrel=2
-pkgdesc='The little ASGI framework that shines'
-arch=('any')
-url='https://github.com/encode/starlette'
-license=('BSD')
-depends=('python' 'python-anyio')
-optdepends=('python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
- 'python-yaml' 'python-requests' 'python-ujson' 'python-python-multipart')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-trio' 'python-pytest-asyncio'
- 'python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
- 'python-yaml' 'python-requests' 'python-ujson'
- 'python-unidecode' 'python-python-multipart')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('4321d3d1890c49dea53d7923b456772ecc9d28083d28392e0e9cd1f39f33180cc1cb28914bee443849fa8c87015dd99610ea18e03f0101b0eaf3f8df56249fab')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- # remove pytest-cov usage
- sed -i '/^ --cov.*/d' setup.cfg
-
- # 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
-
- python -m pytest -p no:warnings
-}
-
-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-staging-any/PKGBUILD (from rev 1062910, python-starlette/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 23:07:24 UTC (rev 1062911)
@@ -0,0 +1,56 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=starlette
+pkgname=python-$_pkgname
+pkgver=0.14.2
+pkgrel=3
+pkgdesc='The little ASGI framework that shines'
+arch=('any')
+url='https://github.com/encode/starlette'
+license=('BSD')
+depends=('python' 'python-anyio')
+optdepends=('python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
+ 'python-yaml' 'python-requests' 'python-ujson' 'python-python-multipart')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-trio' 'python-pytest-asyncio'
+ 'python-aiofiles' 'python-graphene' 'python-itsdangerous' 'python-jinja'
+ 'python-yaml' 'python-requests' 'python-ujson'
+ 'python-unidecode' 'python-python-multipart')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('4321d3d1890c49dea53d7923b456772ecc9d28083d28392e0e9cd1f39f33180cc1cb28914bee443849fa8c87015dd99610ea18e03f0101b0eaf3f8df56249fab')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ # remove pytest-cov usage
+ sed -i '/^ --cov.*/d' setup.cfg
+
+ # 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
+
+ python -m pytest -p no:warnings
+}
+
+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