Commits

Denis Bilenko committed 5b4735a

add debian/control and debian/rules for launchpad

  • Participants
  • Parent commits 30ac18f

Comments (0)

Files changed (2)

File debian/control

+Source: python-gevent
+Priority: extra
+Maintainer: Denis Bilenko <denis.bilenko@gmail.com>
+Build-Depends: debhelper (>= 7.0.50), python-support, python-all-dev, python-all-dbg
+Standards-Version: 3.9.2
+Section: python
+Homepage: http://www.gevent.org/
+
+Package: python-gevent-dbg
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, python-gevent (= ${binary:Version})
+Recommends: python-dbg
+Description: gevent is a coroutine-based Python networking library - debugging symbols
+ gevent uses greenlet to provide a high-level synchronous API on top of the
+ libev event loop.
+ .
+ This is the debugging symbols for gevent.
+
+Package: python-gevent
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-greenlet
+Suggests: python-gevent-doc, python-gevent-dbg, python-openssl
+Description: gevent is a coroutine-based Python networking library
+ gevent uses greenlet to provide a high-level synchronous API on top of the
+ libev event loop.
+

File debian/rules

+#!/usr/bin/make -f
+%:
+	dh $@ --parallel
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f gevent/*.so
+
+override_dh_compress:
+	dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv
+
+override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_strip --dbg-package=python-gevent-dbg
+	cd debian/python-gevent-dbg/usr/lib/debug/usr/lib && mv pyshared pymodules
+endif
+
+override_dh_installdocs:
+	dh_installdocs --link-doc=python-gevent
+
+.PHONY: override_dh_auto_build override_dh_auto_clean override_dh_compress override_dh_strip override_dh_installdocs