Date: Saturday, September 3, 2022 @ 16:57:35
  Author: ffy00
Revision: 1292638

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-03 16:57:31 UTC (rev 1292637)
+++ PKGBUILD    2022-09-03 16:57:35 UTC (rev 1292638)
@@ -1,40 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
-
-_pkgname=aiomysql
-pkgname=python-$_pkgname
-pkgver=0.0.21
-pkgrel=3
-pkgdesc='library for accessing a MySQL database from the asyncio'
-arch=('any')
-url='https://github.com/aio-libs/aiomysql'
-license=('MIT')
-depends=('python' 'python-pymysql')
-makedepends=('python-setuptools')
-optdepends=('python-sqlalchemy: SQLAlchemy support')
-#checkdepends=('python-pytest-runner' 'python-ipdb' 'python-docker' 
'python-sqlalchemy' 'python-uvloop')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('e715c02541cadc483851b8a0e2c6f5cc5a0c499b41e785f2ab7519869d184d50c30f37e83f330f8be3494719d1a9eb64f6ce37746e9a75533f63d2f97fd3372d')
-
-# TODO: fix tests
-
-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-aiomysql/repos/community-any/PKGBUILD (from rev 1292637, 
python-aiomysql/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-03 16:57:35 UTC (rev 1292638)
@@ -0,0 +1,41 @@
+# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org>
+
+_pkgname=aiomysql
+pkgname=python-$_pkgname
+pkgver=0.1.1
+pkgrel=1
+pkgdesc='library for accessing a MySQL database from the asyncio'
+arch=('any')
+url='https://github.com/aio-libs/aiomysql'
+license=('MIT')
+depends=('python' 'python-pymysql')
+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' 'python-ipdb' 'python-docker' 
'python-sqlalchemy' 'python-uvloop')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('b83a91465caf756f8a3046651d90b5a39d9b2714d96d8bb1c6df4fa6b47189c24979d88901d7f7fb1d2dd235c4a19e2d9ed3f73c8ace42950d12e1cdbb0e46ac')
+
+# TODO: fix tests
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build -nw
+}
+
+#check() {
+#  cd $_pkgname-$pkgver
+#
+#  python -m 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:

Reply via email to