[arch-commits] Commit in python-aiopg/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at gemini.archlinux.org
Sat Sep 3 16:59:40 UTC 2022
Date: Saturday, September 3, 2022 @ 16:59:39
Author: ffy00
Revision: 1292640
archrelease: copy trunk to community-any
Added:
python-aiopg/repos/community-any/PKGBUILD
(from rev 1292639, python-aiopg/trunk/PKGBUILD)
Deleted:
python-aiopg/repos/community-any/PKGBUILD
----------+
PKGBUILD | 89 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 16:59:36 UTC (rev 1292639)
+++ PKGBUILD 2022-09-03 16:59:39 UTC (rev 1292640)
@@ -1,44 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=aiopg
-pkgname=python-$_pkgname
-pkgver=1.3.1
-pkgrel=2
-pkgdesc='library for accessing a PostgreSQL database from the asyncio'
-arch=('any')
-url='https://github.com/aio-libs/aiopg'
-license=('BSD')
-depends=('python' 'python-psycopg2' 'python-async-timeout')
-makedepends=('python-setuptools')
-optdepends=('python-sqlalchemy: SQLAlchemy support')
-#checkdepends=('python-pytest-runner' 'python-sqlalchemy' 'python-docker')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('cd226c77cf741731cd04a6d2c1855da68de888cc1bc349d4a03d4b4b4a9ca1b56847173a5c8c99cb210604755ac669bcd8129b96ce3886ee5e9810d058d8d1c5')
-
-# TODO: fix tests (need docker)
-
-prepare() {
- sed -i 's|install_requires = \["psycopg2-binary|install_requires = \["psycopg2|' $_pkgname-$pkgver/setup.py
-}
-
-build() {
- cd $_pkgname-$pkgver
-
- python setup.py build
-}
-
-#check() {
-# cd $_pkgname-$pkgver
-#
-# python setup.py pytest
-#}
-
-package() {
- cd $_pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
- install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-aiopg/repos/community-any/PKGBUILD (from rev 1292639, python-aiopg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-03 16:59:39 UTC (rev 1292640)
@@ -0,0 +1,45 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=aiopg
+pkgname=python-$_pkgname
+pkgver=1.3.4
+pkgrel=1
+pkgdesc='library for accessing a PostgreSQL database from the asyncio'
+arch=('any')
+url='https://github.com/aio-libs/aiopg'
+license=('BSD')
+depends=('python' 'python-psycopg2' 'python-async-timeout')
+makedepends=('python-build' 'python-installer' 'python-wheel'
+ 'python-setuptools' 'python-setuptools-scm' 'python-setuptools-scm-git-archive')
+optdepends=('python-sqlalchemy: SQLAlchemy support')
+#checkdepends=('python-pytest-runner' 'python-sqlalchemy' 'python-docker')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('1de1172fd207345cd21fe648417abea8e891124b75dd955b7dd92a76932420f148acff87df12d464b99c45fa4a4e461963e9cae3a84c0d447aa69d0bbeceebf0')
+
+# TODO: fix tests (need docker)
+
+prepare() {
+ sed -i 's|install_requires = \["psycopg2-binary|install_requires = \["psycopg2|' $_pkgname-$pkgver/setup.py
+}
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python -m build
+}
+
+#check() {
+# cd $_pkgname-$pkgver
+#
+# python setup.py pytest
+#}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python -m installer -d "$pkgdir" dist/*.whl
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list