File: rules

package info (click to toggle)
pystac 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 19,904 kB
  • sloc: python: 24,370; makefile: 124; sh: 7
file content (120 lines) | stat: -rwxr-xr-x 3,650 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#! /usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')

export PYBUILD_NAME=pystac
export PYBUILD_TEST_ARGS=\
-k "not test_read_remote \
and not test_validate \
and not test_null_geometry \
and not test_non_hierarchical_relative_link \
and not test_apply_bitfields \
and not test_set_variables \
and not test_set_dimensions \
and not test_asset_bands \
and not test_bands \
and not test_cloud_cover \
and not test_set_field \
and not test_attributes \
and not test_modify \
and not test_collection_validate \
and not test_item_validate \
and not test_all \
and not test_required \
and not test_assets \
and not test_migrate_from_v2_0_0 \
and not test_migrate_from_v1_0_0 \
and not test_add_version \
and not test_version_in_properties \
and not test_add_not_deprecated_version \
and not test_add_deprecated_version \
and not test_latest \
and not test_predecessor \
and not test_successor \
and not test_collection_add_version \
and not test_catalog_add_version \
and not test_catalog_validate_all \
and not test_optional_version \
and not PointcloudTest \
and not SatTest \
and not ItemScientificExtensionTest \
and not CollectionScientificExtensionTest \
and not AssetStorageExtensionTest \
and not TimestampsTest \
and not ViewTest \
and not ProjectionTest \
and not test_get_schema_uri \
and not test_testcases \
and not test_apply_classes \
and not test_apply \
and not test_count \
and not test_type \
and not test_encoding \
and not test_schemas \
and not test_statistics \
and not test_density \
and not test_partial_apply \
and not test_epsg \
and not test_wkt2 \
and not test_projjson \
and not test_geometry \
and not test_bbox \
and not test_centroid \
and not test_shape \
and not test_transform \
and not test_no_args_fails \
and not test_orbit_state \
and not test_relative_orbit \
and not test_absolute_orbit \
and not test_anx_datetime \
and not test_platform_international_designator \
and not test_relative_orbit_no_negative \
and not test_both \
and not test_clear_orbit_state \
and not test_clear_relative_orbit \
and not test_doi \
and not test_citation \
and not test_publications_one \
and not test_publications \
and not test_remove_publication_one \
and not test_remove_all_publications_one \
and not test_remove_publication_forward \
and not test_remove_publication_reverse \
and not test_remove_all_publications_with_some \
and not test_remove_all_publications_with_none \
and not test_collection_doi \
and not test_collection_citation \
and not test_collection_publications_one \
and not test_collection_publications \
and not test_collection_remove_publication_one \
and not test_collection_remove_all_publications_one \
and not test_collection_remove_publication_forward \
and not test_collection_remove_publication_reverse \
and not test_collection_remove_all_publications_with_some \
and not test_collection_remove_all_publications_with_none \
and not test_asset_platform \
and not test_asset_region \
and not test_asset_requester_pays \
and not test_asset_tier \
and not test_expires \
and not test_published \
and not test_unpublished \
and not test_off_nadir \
and not test_incidence_angle \
and not test_azimuth \
and not test_sun_azimuth \
and not test_sun_elevation" \
$(CURDIR)/tests


%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_build-indep:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	env PYTHONPATH=$(CURDIR) http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
	sphinx-build -N -E -T -b html $(CURDIR)/docs $(CURDIR)/.pybuild/docs/html
	rm -rf $(CURDIR)/.pybuild/docs/html/.doctrees
endif