debian: build a python3-hobo package (#35493)
This commit is contained in:
parent
090fc5b8de
commit
bab13ba977
|
@ -2,9 +2,8 @@ Source: hobo
|
|||
Maintainer: Jérôme Schneider <jschneider@entrouvert.com>
|
||||
Section: python
|
||||
Priority: optional
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), python-django, debhelper (>= 9), dh-python, dh-systemd
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), python3-all, python-django, python3-django, debhelper (>= 9), dh-python, dh-systemd
|
||||
Standards-Version: 3.9.1
|
||||
X-Python-Version: >= 2.7
|
||||
|
||||
Package: python-hobo
|
||||
Architecture: all
|
||||
|
@ -27,6 +26,27 @@ Recommends:
|
|||
memcached
|
||||
Description: Rapid Remote Deployment python module
|
||||
|
||||
Package: python3-hobo
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
${python3:Depends},
|
||||
python3-django (>= 1:1.11),
|
||||
python3-celery (>= 3.1.13),
|
||||
python3-requests,
|
||||
python3-raven,
|
||||
python3-graypy,
|
||||
python3-apt,
|
||||
python3-memcache,
|
||||
python3-prometheus-client,
|
||||
python3-djangorestframework,
|
||||
python3-dnspython,
|
||||
python3-systemd
|
||||
Recommends:
|
||||
python3-gadjo,
|
||||
python3-django-mellon (>= 1.2.22.26),
|
||||
memcached
|
||||
Description: Rapid Remote Deployment python 3 module
|
||||
|
||||
Package: hobo
|
||||
Architecture: all
|
||||
Depends: python-hobo (= ${binary:Version}),
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
usr/lib/
|
||||
debian/debian_config_common.py /usr/lib/hobo
|
||||
debian/debian_config_settings_d.py /usr/lib/hobo
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
COPYING
|
||||
README
|
|
@ -0,0 +1 @@
|
|||
activate hobo-redeploy
|
|
@ -1,15 +1,16 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
export PYBUILD_NAME := hobo
|
||||
export DEB_BUILD_OPTIONS=nocheck
|
||||
|
||||
PYTHON_HOBO_DIR=$(CURDIR)/debian/python-hobo
|
||||
PYTHON3_HOBO_DIR=$(CURDIR)/debian/python3-hobo
|
||||
|
||||
%:
|
||||
dh $@ --with python2,systemd
|
||||
dh $@ --with python2,python3,systemd --buildsystem=pybuild
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
mv $(CURDIR)/debian/tmp/usr/bin/manage.py $(PYTHON_HOBO_DIR)/usr/lib/hobo/manage.py
|
||||
|
||||
mv $(PYTHON_HOBO_DIR)/usr/bin/manage.py $(PYTHON_HOBO_DIR)/usr/lib/hobo/manage.py
|
||||
rm $(PYTHON3_HOBO_DIR)/usr/bin/manage.py
|
||||
|
|
Loading…
Reference in New Issue