This repository was archived by the owner on Jan 19, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathMakefile
More file actions
199 lines (165 loc) · 3.28 KB
/
Makefile
File metadata and controls
199 lines (165 loc) · 3.28 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz
PYPI2NIX=./../result-pypi2nix-bin/bin/pypi2nix -W https://travis.garbas.si/wheels_cache/
all: \
attrs \
django \
flake8 \
flask \
openstackclient \
pelican \
pykube \
pyramid \
pypi2nix \
pypiserver \
pytest \
science \
sphinx \
pypi2nix-bin \
static
attrs:
cd attrs/ && \
$(PYPI2NIX) -v \
-V 3 \
-O ../overrides.nix \
-r requirements.txt
nix-build -Q -A attrs -o result-attrs
ckan:
cd ckan/ && \
$(PYPI2NIX) -v \
-V 2.7 \
-O ../overrides.nix \
-r requirements.txt \
-E postgresql \
-E gcc \
-E openssl \
-E libffi
nix-build -Q -A ckan -o result-ckan
django:
cd django/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-O ../overrides.nix \
-r requirements.txt
nix-build -Q -A django -o result-django
flake8:
cd flake8/ && \
$(PYPI2NIX) -v \
-V 3 \
-r requirements.txt \
-O ../overrides.nix
nix-build -Q -A flake8 -o result-flake8
flask:
cd flask/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-r requirements.txt \
-O ../overrides.nix
nix-build -Q -A flask -o result-flask
pelican:
cd pelican/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-O ../overrides.nix \
-r requirements.txt
nix-build -Q -A pelican -o result-pelican
pykube:
cd pykube/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-r requirements.txt \
-O ../overrides.nix
nix-build -Q -A pykube -o result-pykube
pyramid:
cd pyramid/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-O ../overrides.nix \
-r requirements.txt
nix-build -Q -A pyramid -o result-pyramid
pypi2nix:
cd pypi2nix/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-O ../overrides.nix \
-r requirements.txt
nix-build -A pypi2nix -o result-pypi2nix
pypiserver:
cd pypiserver/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-O ../overrides.nix \
-r requirements.txt
nix-build -Q -A pypiserver -o result-pypiserver
pytest:
cd pytest/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-O ../overrides.nix \
-r requirements.txt
nix-build -Q -A pytest -o result-pytest
httpie:
cd httpie/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-O ../overrides.nix \
-E gcc \
-E openssl \
-E libffi \
-E kerberos \
-r requirements.txt
nix-build -Q -A httpie -o result-httpie
science:
cd science/ && \
$(PYPI2NIX) -v \
-V 3.5 \
-s numpy \
-r requirements.txt \
-O ../overrides.nix \
-E gfortran \
-E blas \
-E pkgconfig \
-E freetype.dev \
-E libpng \
-E agg
nix-build -Q -A science -o result-science
sphinx:
cd sphinx/ && \
$(PYPI2NIX) -v \
-V 3 \
-E libffi \
-O ../overrides.nix \
-E openssl.dev \
-r requirements.txt
nix-build -Q -A sphinx -o result-sphinx
openstackclient:
cd openstackclient/ && \
$(PYPI2NIX) -v \
-V 2.7 \
-r requirements.txt \
-E which \
-E libffi \
-E openssl.dev
nix-build -A openstackclient -o result-openstackclient
pypi2nix-bin:
if [ ! -e pypi2nix-src ]; then git clone https://github.com/garbas/pypi2nix pypi2nix-src; fi
cd pypi2nix-src && nix-build release.nix -Q -A build."x86_64-linux" -o $(PWD)/result-pypi2nix-bin && cd ..
static:
nix-build -Q static.nix -o result-static
.PHONY: \
attrs \
ckan \
django \
flake8 \
flask \
httpie \
openstackclient \
pelican \
pykube \
pypi2nix \
pypi2nix-bin \
pypiserver \
pyramid \
pytest \
science \
sphinx \
static