source: ProjectBuilder/projects/python-formats/pbconf/python-formats/deb/rules@ 2407

Last change on this file since 2407 was 2407, checked in by Bruno Cornec, 5 years ago

Adds project python-formats to build farm

File size: 481 bytes
Line 
1#!/usr/bin/make -f
2
3export PYBUILD_NAME=python-formats
4export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
5
6%:
7 dh $@ --with python2,python3 PBPYBUILD
8
9PYPI_DESC = A tiny library for creating wrappers around web APIs
10DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
11 help2man = PYTHONPATH=${CURDIR} help2man -N --version-string=${DEB_UPSTREAM_VERSION} \
12 -o $1 -n '$2' $(CURDIR)/debian/python-formats/usr/bin/$(subst .1,,$1)
Note: See TracBrowser for help on using the repository browser.