| 1 |
|
| 2 |
|
| 3 |
UPSTREAM_GITscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/UPSTREAM_GIT. := https://github.com/ndparker/rjsmin.git |
| 4 |
include /usr/share/openstack-pkg-tools/pkgos.make |
| 5 |
|
| 6 |
export PYBUILD_NAMEscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/PYBUILD_NAME.=rjsmin |
| 7 |
|
| 8 |
ARCHscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/ARCH.:=$(shellscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/shell. dpkg-architecture -qDEB_TARGET_GNU_CPU) |
| 9 |
OSscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/OS.:=$(shellscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/shell. dpkg-architecture -qDEB_TARGET_ARCH_OS) |
| 10 |
|
| 11 |
%scip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/`%`().: |
| 12 |
dh $@ --buildsystem=pybuild --with python3 |
| 13 |
|
| 14 |
override_dh_auto_installscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/override_dh_auto_install().: |
| 15 |
dh_auto_installscip-debian debian debhelper . dh_auto_install(). |
| 16 |
rm -rf $(CURDIRscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/CURDIR.)/debian/python*/usr/share/doc/rjsmin* |
| 17 |
|
| 18 |
override_dh_auto_testscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/override_dh_auto_test().: |
| 19 |
ifeq (,$(findstringscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/findstring. nocheck, $(DEB_BUILD_OPTIONSscip-debian debian python-rjsmin 1.2.5+dfsg1-2 python-rjsmin/rules/DEB_BUILD_OPTIONS.))) |
| 20 |
env |
| 21 |
set -e ; for pyvers in $(PYTHON3S); do \ |
| 22 |
PYTHONPATH=$(CURDIR):$(CURDIR)/build/lib.$(OS)-$(ARCH)-$$pyvers python$$pyvers \ |
| 23 |
bench/main.py bench/bootstrap.js bench/DateTimeShortcuts.js bench/jquery-1.7.1.js \ |
| 24 |
bench/knockout-2.0.0.js bench/markermanager.js; \ |
| 25 |
done |
| 26 |
endif |