[arch-commits] Commit in python-aiomysql/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:35:35 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:35:35
  Author: foutrelis
Revision: 752693

archrelease: copy trunk to community-staging-any

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

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

Copied: python-aiomysql/repos/community-staging-any/PKGBUILD (from rev 752692, python-aiomysql/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:35:35 UTC (rev 752693)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=aiomysql
+pkgname=python-$_pkgname
+pkgver=0.0.20
+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=('d182a638675e147bac5bc82826063e67376b97a4f58963991ad1146f97fc3bda0080a42cb7f2b826fd01b43797fc105c9ead50ab3f130f2ea08127a49c868164')
+
+# 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:



More information about the arch-commits mailing list