build: drop makefile

It has been a while since we moved to tox. Lets also drop makefile since
it seems to be useless with tox
This commit is contained in:
2023-12-16 16:11:11 +02:00
parent b3ce545517
commit 93793b6424
10 changed files with 96 additions and 98 deletions

View File

@ -27,7 +27,7 @@ optdepends=('breezy: -bzr packages support'
'python-systemd: journal support'
'rsync: sync by using rsync'
'subversion: -svn packages support')
source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"
source=("https://github.com/arcan1s/ahriman/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
'ahriman.sysusers'
'ahriman.tmpfiles')
install="$pkgname.install"
@ -35,13 +35,13 @@ backup=('etc/ahriman.ini'
'etc/ahriman.ini.d/logging.ini')
build() {
cd "$pkgname"
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname"
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" "dist/$pkgname-$pkgver-py3-none-any.whl"