2020-06-14 22:14:00 +00:00
|
|
|
# Description: XLib in pure Python
|
|
|
|
# URL: https://github.com/python-xlib/python-xlib
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-09-20 10:30:35 +00:00
|
|
|
# Depends on: python3-importlib_metadata
|
2020-06-14 22:14:00 +00:00
|
|
|
|
|
|
|
name=python3-xlib
|
2022-12-28 13:05:10 +00:00
|
|
|
version=0.33
|
2020-06-14 22:14:00 +00:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/python-xlib/python-xlib/releases/download/$version/python-xlib-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd python-xlib-$version
|
2020-11-03 21:11:56 +00:00
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --root=$PKG \
|
|
|
|
--optimize=1 \
|
|
|
|
--skip-build
|
2020-07-10 11:48:17 +00:00
|
|
|
find $PKG \(\
|
|
|
|
-iname '*pkg-info*' -o \
|
|
|
|
-iname '*sources*' -o \
|
|
|
|
-iname '*dependency_links*' -o \
|
|
|
|
-iname '*top_level*' -o \
|
|
|
|
-iname '*requires*' \) -exec rm -fr '{}' \+
|
2020-06-14 22:14:00 +00:00
|
|
|
}
|