[arch-commits] Commit in python-aiosqlite/repos/community-any (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Feb 17 23:09:49 UTC 2021


    Date: Wednesday, February 17, 2021 @ 23:09:49
  Author: ffy00
Revision: 863054

archrelease: copy trunk to community-any

Added:
  python-aiosqlite/repos/community-any/PKGBUILD
    (from rev 863053, python-aiosqlite/trunk/PKGBUILD)

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

Copied: python-aiosqlite/repos/community-any/PKGBUILD (from rev 863053, python-aiosqlite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-17 23:09:49 UTC (rev 863054)
@@ -0,0 +1,43 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=aiosqlite
+pkgname=python-$_pkgname
+pkgver=0.16.1
+pkgrel=1
+pkgdesc='asyncio bridge to the standard sqlite3 module'
+arch=('any')
+url='https://github.com/omnilib/aiosqlite'
+license=('MIT')
+depends=('python-typing_extensions' 'python-pydantic')
+makedepends=('python-setuptools' 'python-dephell')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('420a1ccd8a9f2981fd3a264d73917cd5ca53f596799f365e564a3e58cdc4c97234089bcd08f9113ed3137788745d72de834528749c07427da73c53e3d434771f')
+
+# TODO: package test requirements
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  dephell deps convert --from pyproject.toml --to 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
+}


More information about the arch-commits mailing list