[arch-commits] Commit in python-aiosqlite/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Aug 1 07:36:57 UTC 2022
Date: Monday, August 1, 2022 @ 07:36:56
Author: arojas
Revision: 1259588
upgpkg: python-aiosqlite 0.17.0-4: drop dephell usage
Modified:
python-aiosqlite/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-01 07:34:39 UTC (rev 1259587)
+++ PKGBUILD 2022-08-01 07:36:56 UTC (rev 1259588)
@@ -3,13 +3,13 @@
_pkgname=aiosqlite
pkgname=python-$_pkgname
pkgver=0.17.0
-pkgrel=3
+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-setuptools' 'python-dephell')
+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')
@@ -16,16 +16,10 @@
# 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
+ python -m build --wheel --no-isolation
}
#check() {
@@ -37,7 +31,7 @@
package() {
cd $_pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ 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