]> git.ipfire.org Git - ipfire-3.x.git/blame - python3-systemd/python3-systemd.nm
make: Update to 4.2.1
[ipfire-3.x.git] / python3-systemd / python3-systemd.nm
CommitLineData
69309f69
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = python3-systemd
7version = 232
8release = 1
9thisapp = python-systemd-%{version}
10
11groups = Development/Tools
12url = https://github.com/systemd/python-systemd
13license = LGPLv2+
14summary = Python module wrapping systemd functionality.
15
16description
17 This package contains various Python modulse for a native access to
18 the systemd facilities.
19end
20
21source_dl = https://github.com/systemd/python-systemd/archive/v%{version}.tar.gz#/
22
23build
24 requires
25 python3-devel >= 3.4
26 systemd-devel
27 end
28
29 prepare_cmds
30 sed -i 's/py\.test/pytest/' Makefile
31 end
32
33 make_build_targets += \
34 PYTHON=%{python3}
35
36 test
37 # Disable testsuite, because pytest is required
38 # which is currently not available.
39 #make PYTHON=%{python3} check
40 end
41
42 make_install_targets += \
43 PYTHON=%{python3}
44
45 install_cmds
46 # Remove accidently installed files from testsuite.
47 rm -rvf %{BUILDROOT}%{python3_sitearch}/systemd/test
48 end
49end
50
51packages
52 package %{name}
53
54 package %{name}-debuginfo
55 template DEBUGINFO
56 end
57end