1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = python-systemd-%{version}
11 groups = Development/Tools
12 url = https://github.com/systemd/python-systemd
14 summary = Python module wrapping systemd functionality.
17 This package contains various Python modulse for a native access to
18 the systemd facilities.
21 source_dl = https://github.com/systemd/python-systemd/archive/v%{version}.tar.gz#/
30 sed -i 's/py\.test/pytest/' Makefile
33 make_build_targets += \
37 # Disable testsuite, because pytest is required
38 # which is currently not available.
39 #make PYTHON=%{python3} check
42 make_install_targets += \
46 # Remove accidently installed files from testsuite.
47 rm -rvf %{BUILDROOT}%{python3_sitearch}/systemd/test
54 package %{name}-debuginfo