File: rules

package info (click to toggle)
skyfield 1.53%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,688 kB
  • sloc: python: 14,800; makefile: 278; sh: 41
file content (110 lines) | stat: -rwxr-xr-x 3,921 bytes parent folder | download
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
#! /usr/bin/make -f

export PYBUILD_NAME=skyfield

# Skip tests that make access to the internet
export PYBUILD_TEST_ARGS=\
-k "not test_ecliptic_frame \
and not test_ecliptic_for_epoch_of_date \
and not test_ecliptic_for_epoch_of_date_array \
and not test_fk4_frame and not test_galactic_frame \
and not test_from_altaz_ \
and not test_position_and_velocity \
and not test_mercury_geocentric_date \
and not test_venus_geocentric_date \
and not test_mars_geocentric_date \
and not test_jupiter_barycenter_geocentric_date \
and not test_saturn_barycenter_geocentric_date \
and not test_uranus_barycenter_geocentric_date \
and not test_neptune_barycenter_geocentric_date \
and not test_pluto_barycenter_geocentric_date \
and not test_sun_geocentric_date \
and not test_moon_geocentric_date \
and not test_polaris_geocentric_date \
and not test_mercury_topocentric_date \
and not test_venus_topocentric_date \
and not test_mars_topocentric_date \
and not test_jupiter_barycenter_topocentric_date \
and not test_saturn_barycenter_topocentric_date \
and not test_uranus_barycenter_topocentric_date \
and not test_neptune_barycenter_topocentric_date \
and not test_pluto_barycenter_topocentric_date \
and not test_sun_topocentric_date \
and not test_moon_topocentric_date \
and not test_hipparcos_conversion \
and not test_almanac \
and not test_almanac_east_asia \
and not test_sending_jd_that_is_not_a_julian_date \
and not test_apparent_position_class \
and not test_astrometric_position_class \
and not test_ephemeris_contains_method \
and not test_exception_raised_for_dates_outside_ephemeris \
and not test_planet_position_class \
and not test_star_position_class \
and not test_star_vector_from_earth \
and not test_star_vector_from_topos \
and not test_hadec_needs_a_longitude \
and not test_altaz_needs_topos \
and not test_github_500_does_zero_position_trigger_numpy_warnings \
and not test_earth_deflection \
and not test_is_sunlit \
and not test_is_venus_behind_earth \
and not test_eclipselib \
and not test_radec_and_altaz_angles_and_rates \
and not test_close_of_ephemeris \
and not test_minor_planet \
and not test_comet \
and not test_comet_with_eccentricity_of_exactly_one \
and not test_magnitudes \
and not test_planetarylib \
and not test_hadec \
and not test_cirs_era \
and not test_cirs_meridian \
and not test_cirs_sofa \
and not test_phase_angle_and_fraction_illuminated \
and not test_stars.py \
and not test_jpl_segment \
and not test_jpl_vector_sum \
and not test_geographic_position_and_earth_satellite_vector_sum \
and not test_topos_and_earth_satellite_vector_sum \
and not test_strftime_with_microseconds \
and not test_polar_motion_table \
and not test_vectors \
and not test_concurrent_downloads \
and not test_callisto_geometry \
and not test_callisto_astrometric \
and not test_boston_geometry \
and not test_moon_from_boston_geometry \
and not test_moon_from_boston_astrometric \
and not test_position_angle_from_boston \
and not test_repr \
and not test_single_time \
and not test_multiple_times \
and not test_equatorial_km_d \
and not test_equatorial_km_s \
and not test_equatorial_au_d \
and not test_ecliptic_km_d \
and not test_ecliptic_km_s \
and not test_ecliptic_au_d \
and not test_extreme_ellipse \
and not test_slightly_hyperbolic \
and not test_periapsis_time \
and not test_gm_calculation \
and not test_astrometric_position_does_not_allow_altaz \
and not test_dataframe \
and not test_observe_and_apparent_survive_an_empty_time_array \
and not test_multiple_non_overlapping_segments_per_target" \
--pyargs ${PYBUILD_NAME}

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	dh_auto_build
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	env PYTHONPATH=. python3 -m sphinx -N -bhtml documentation .pybuild/docs/html
else
        mkdir -p .pybuild/docs/html
endif