Date: Friday, April 7, 2023 @ 05:50:24
  Author: felixonmars
Revision: 1440649

archrelease: copy trunk to community-staging-any

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

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

Copied: python-aiosqlite/repos/community-staging-any/PKGBUILD (from rev 
1440646, python-aiosqlite/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-07 05:50:24 UTC (rev 1440649)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe LaĆ­ns (FFY00) <[email protected]>
+
+_pkgname=aiosqlite
+pkgname=python-$_pkgname
+pkgver=0.17.0
+pkgrel=5
+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-build' 'python-installer' 'python-flit-core')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('e653cb56c9c57996fc1b5acdc5f2cf6dae1b0d66fe091c3888137d28aca8b0560154e7aade07d174e86911f59b5c69bee2d15a0c9a146a6a3d1ce8ad9ce84cb7')
+
+# TODO: package test requirements
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python -m build --wheel --no-isolation
+}
+
+#check() {
+#  cd $_pkgname-$pkgver
+#
+#  python setup.py pytest
+#}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to