1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/py3-i3ipc/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

28 lines
805 B
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-i3ipc
pkgver=2.2.1
pkgrel=3
pkgdesc="An improved Python library to control i3wm and sway"
options="!check" # Requires unpackaged 'asyncio'
url="https://github.com/altdesktop/i3ipc-python"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-xlib"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/altdesktop/i3ipc-python/archive/v$pkgver.tar.gz"
builddir="$srcdir/i3ipc-python-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="edbcec3cd0da53815dba22d696a17ddf909c39db771cf234befaa3130f8b56003ccc70eb28a07b286ab31c2cbb9d5893caf42b01ed20d61efdcd6359afbecc18 py3-i3ipc-2.2.1.tar.gz"