source: projects/python-tortilla/pbconf/devel/python-tortilla/deb/rules @ 2405

Last change on this file since 2405 was 2405, checked in by bruno, 7 weeks ago

Adds python-tortilla project

File size: 495 bytes
Line 
1#!/usr/bin/make -f
2
3export PYBUILD_NAME=python-tortilla
4export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
5
6%:
7        dh $@ --with python2,python3 --buildsystem=pybuild
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-tortilla/usr/bin/$(subst .1,,$1)
Note: See TracBrowser for help on using the repository browser.