Marcel Telka
2024-04-02 f1b1912adc00984cd165470b728dda03ac81b2c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2023 Marcel Telka
#
 
%patch% 01-test-no-pylibacl.patch
%patch% 02-test-no-site-packages.patch
 
%include-2%
COMPONENT_FMRI =        backup/rdiff-backup
COMPONENT_CLASSIFICATION =    Applications/System Utilities
 
# This is a standalone application.  Since no other Python project depends on
# it we just provide single unversioned package.
SINGLE_PYTHON_VERSION = yes
%include-3%
# Make sure data files are installed at proper location
PYTHON_DATA=$(USRDIR)
 
# Tests needs to find testing modules
COMPONENT_TEST_ENV += PYTHONPATH=$(PROTO_DIR)/$(PYTHON_LIB):$(@D)/testing
%hook-no-license%
LICENSE="GPL-2.0-only"