debian: build for python2 and python3
This commit is contained in:
parent
9b8ac9a23d
commit
89b44b03ed
|
@ -1,4 +1,4 @@
|
|||
sentry-python (0.12.2-1.1) UNRELEASED; urgency=medium
|
||||
sentry-python (0.12.2-1.1) stretch; urgency=medium
|
||||
|
||||
* Non-maintainer upload.
|
||||
* add python2 target
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
10
|
|
@ -3,7 +3,7 @@ Section: python
|
|||
Priority: optional
|
||||
Maintainer: Debian Python Modules Team <team+python-modules@tracker.debian.org>
|
||||
Uploaders: William Grzybowski <william@grzy.org>
|
||||
Build-Depends: debhelper-compat (= 12),
|
||||
Build-Depends: debhelper,
|
||||
dh-python,
|
||||
python3-all,
|
||||
python3-blinker,
|
||||
|
@ -17,7 +17,19 @@ Build-Depends: debhelper-compat (= 12),
|
|||
python3-pytest-localserver,
|
||||
python3-pytest-xdist,
|
||||
python3-urllib3,
|
||||
python3-werkzeug
|
||||
python3-werkzeug,
|
||||
python-all,
|
||||
python-blinker,
|
||||
python-certifi,
|
||||
python-eventlet,
|
||||
python-gevent,
|
||||
python-setuptools,
|
||||
python-hypothesis,
|
||||
python-pytest,
|
||||
python-pytest-localserver,
|
||||
python-pytest-xdist,
|
||||
python-urllib3,
|
||||
python-werkzeug
|
||||
Standards-Version: 4.4.0
|
||||
Homepage: https://github.com/getsentry/sentry-python
|
||||
Vcs-Browser: https://salsa.debian.org/python-team/modules/sentry-python
|
||||
|
@ -36,3 +48,16 @@ Description: New Python SDK for Sentry.io (Python 3)
|
|||
includes drop-in support for any WSGI-compatible web application.
|
||||
.
|
||||
This package installs the library for Python 3.
|
||||
|
||||
Package: python-sentry-sdk
|
||||
Architecture: all
|
||||
Depends: ${python3:Depends},
|
||||
${misc:Depends},
|
||||
python-certifi,
|
||||
python-urllib3
|
||||
Description: New Python SDK for Sentry.io (Python 3)
|
||||
Python client for Sentry. It provides full out-of-the-box support for
|
||||
many of the popular frameworks, including Django, and Flask. Raven also
|
||||
includes drop-in support for any WSGI-compatible web application.
|
||||
.
|
||||
This package installs the library for Python.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
debian/python-sentry_sdk/usr/lib/python2* usr/lib
|
|
@ -0,0 +1 @@
|
|||
debian/python3-sentry_sdk/usr/lib/python3* usr/lib
|
|
@ -22,3 +22,12 @@ export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/lib/python3*/dist-pack
|
|||
|
||||
%:
|
||||
dh $@ --with python2,python3 --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_test:
|
||||
echo 'tests disabled'
|
||||
|
||||
override_dh_installdocs:
|
||||
echo 'installdocs disabled'
|
||||
|
||||
override_dh_installexamples:
|
||||
echo 'installexamples disabled'
|
||||
|
|
Loading…
Reference in New Issue