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

Antonio Rojas arojas at gemini.archlinux.org
Mon Aug 1 07:37:05 UTC 2022


    Date: Monday, August 1, 2022 @ 07:37:05
  Author: arojas
Revision: 1259589

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-01 07:36:56 UTC (rev 1259588)
+++ PKGBUILD	2022-08-01 07:37:05 UTC (rev 1259589)
@@ -1,43 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=aiosqlite
-pkgname=python-$_pkgname
-pkgver=0.17.0
-pkgrel=3
-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=('e653cb56c9c57996fc1b5acdc5f2cf6dae1b0d66fe091c3888137d28aca8b0560154e7aade07d174e86911f59b5c69bee2d15a0c9a146a6a3d1ce8ad9ce84cb7')
-
-# 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
-}

Copied: python-aiosqlite/repos/community-any/PKGBUILD (from rev 1259588, python-aiosqlite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-01 07:37:05 UTC (rev 1259589)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=aiosqlite
+pkgname=python-$_pkgname
+pkgver=0.17.0
+pkgrel=4
+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
+}



More information about the arch-commits mailing list