Initial package.
This commit is contained in:
parent
a4706969d8
commit
388c0071ee
|
@ -0,0 +1,5 @@
|
|||
glare (0.1.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release. (Closes: XXXXX)
|
||||
|
||||
-- Ivan Udovichenko <iudovichenko@mirantis.com> Thu, 29 Sep 2016 03:43:05 +0300
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,168 @@
|
|||
Source: glare
|
||||
Section: net
|
||||
Priority: extra
|
||||
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||
Uploaders: Ivan Udovichenko <iudovichenko@mirantis.com>,
|
||||
Thomas Goirand <zigo@debian.org>,
|
||||
Build-Depends: debhelper (>= 9),
|
||||
dh-python,
|
||||
dh-systemd,
|
||||
openstack-pkg-tools (>= 52~),
|
||||
python-all,
|
||||
python-pbr (>= 1.8),
|
||||
python-setuptools,
|
||||
python-sphinx (>= 1.2.1),
|
||||
Build-Depends-Indep: python-alembic (>= 0.8.4),
|
||||
python-babel (>= 2.3.4),
|
||||
python-bandit (>= 1.1.0),
|
||||
python-coverage (>= 3.6),
|
||||
python-eventlet (>= 0.18.2),
|
||||
python-fixtures (>= 3.0.0),
|
||||
python-futurist (>= 0.11.0),
|
||||
python-glance-store (>= 0.18.0),
|
||||
python-hacking (>= 0.10.0),
|
||||
python-httplib2 (>= 0.7.5),
|
||||
python-iso8601 (>= 0.1.11),
|
||||
python-jsonpatch (>= 1.1),
|
||||
python-jsonschema (>= 2.0.0),
|
||||
python-keystoneauth1 (>= 2.10.0),
|
||||
python-keystonemiddleware (>= 4.2.0),
|
||||
python-microversion-parse (>= 0.1.2),
|
||||
python-mock (>= 2.0),
|
||||
python-monotonic (>= 0.6),
|
||||
python-mox3 (>= 0.7.0),
|
||||
python-mysqldb (>= 0.6.2),
|
||||
python-openssl (>= 0.14),
|
||||
python-os-api-ref (>= 1.0.0),
|
||||
python-os-testr (>= 0.7.0),
|
||||
python-oslo.concurrency (>= 3.8.0),
|
||||
python-oslo.config (>= 1:3.14.0),
|
||||
python-oslo.context (>= 2.9.0),
|
||||
python-oslo.db (>= 4.10.0),
|
||||
python-oslo.i18n (>= 2.1.0),
|
||||
python-oslo.log (>= 3.11.0),
|
||||
python-oslo.messaging (>= 5.2.0),
|
||||
python-oslo.middleware (>= 3.0.0),
|
||||
python-oslo.policy (>= 1.9.0),
|
||||
python-oslo.serialization (>= 1.10.0),
|
||||
python-oslo.service (>= 1.10.0),
|
||||
python-oslo.utils (>= 3.16.0),
|
||||
python-oslo.versionedobjects (>= 1.13.0),
|
||||
python-oslosphinx (>= 2.5.0),
|
||||
python-oslotest (>= 1:1.10.0),
|
||||
python-osprofiler (>= 1.4.0),
|
||||
python-paste,
|
||||
python-pastedeploy (>= 1.5.0),
|
||||
python-pbr (>= 1.8),
|
||||
python-psutil (>= 1.1.1),
|
||||
python-psycopg2 (>= 2.5),
|
||||
python-sendfile (>= 2.0.0),
|
||||
python-swiftclient (>= 2.2.0),
|
||||
python-qpid,
|
||||
python-reno (>= 1.8.0),
|
||||
python-requests (>= 2.10.0),
|
||||
python-retrying (>= 1.2.3),
|
||||
python-routes (>= 1.12.3),
|
||||
python-semantic-version (>= 2.3.1),
|
||||
python-six (>= 1.9.0),
|
||||
python-sphinx (>= 1.2.1),
|
||||
python-sqlalchemy (>= 1.0.10),
|
||||
python-testrepository (>= 0.0.18),
|
||||
python-testresources (>= 0.2.4),
|
||||
python-testscenarios (>= 0.4),
|
||||
python-testtools (>= 1.4.0),
|
||||
python-webob (>= 1.2.3),
|
||||
python-wsme (>= 0.8),
|
||||
python-xattr (>= 0.4),
|
||||
Standards-Version: 3.9.8
|
||||
Vcs-Browser: https://git.openstack.org/cgit/openstack/deb-glare?h=debian%2Fnewton
|
||||
Vcs-Git: https://git.openstack.org/openstack/deb-glare -b debian/newton
|
||||
Homepage: https://github.com/openstack/glare
|
||||
|
||||
Package: python-glare
|
||||
Architecture: all
|
||||
Section: python
|
||||
Depends: python-alembic (>= 0.8.4),
|
||||
python-eventlet (>= 0.18.2),
|
||||
python-futurist (>= 0.11.0),
|
||||
python-glance-store (>= 0.18.0),
|
||||
python-httplib2 (>= 0.7.5),
|
||||
python-iso8601 (>= 0.1.11),
|
||||
python-jsonpatch (>= 1.1),
|
||||
python-jsonschema (>= 2.0.0),
|
||||
python-keystoneauth1 (>= 2.10.0),
|
||||
python-keystonemiddleware (>= 4.2.0),
|
||||
python-microversion-parse (>= 0.1.2),
|
||||
python-monotonic (>= 0.6),
|
||||
python-oslo.concurrency (>= 3.8.0),
|
||||
python-oslo.config (>= 1:3.14.0),
|
||||
python-oslo.context (>= 2.9.0),
|
||||
python-oslo.db (>= 4.10.0),
|
||||
python-oslo.i18n (>= 2.1.0),
|
||||
python-oslo.log (>= 3.11.0),
|
||||
python-oslo.messaging (>= 5.2.0),
|
||||
python-oslo.middleware (>= 3.0.0),
|
||||
python-oslo.policy (>= 1.9.0),
|
||||
python-oslo.serialization (>= 1.10.0),
|
||||
python-oslo.service (>= 1.10.0),
|
||||
python-oslo.utils (>= 3.16.0),
|
||||
python-oslo.versionedobjects (>= 1.13.0),
|
||||
python-osprofiler (>= 1.4.0),
|
||||
python-paste,
|
||||
python-pastedeploy (>= 1.5.0),
|
||||
python-pbr (>= 1.8),
|
||||
python-openssl (>= 0.14),
|
||||
python-retrying (>= 1.2.3),
|
||||
python-routes (>= 1.12.3),
|
||||
python-semantic-version (>= 2.3.1),
|
||||
python-six (>= 1.9.0),
|
||||
python-sqlalchemy (>= 1.0.10),
|
||||
python-webob (>= 1.2.3),
|
||||
python-wsme (>= 0.8),
|
||||
${misc:Depends},
|
||||
${python:Depends},
|
||||
Description: Artifact Repository - Python library
|
||||
The Glance project provides services for discovering, registering, and
|
||||
retrieving virtual machine images over the cloud. They may be stand-alone
|
||||
services, or may be used to deliver images from object stores, such as
|
||||
OpenStack's Swift service, to Nova's compute nodes.
|
||||
.
|
||||
This package contains the Python libraries.
|
||||
|
||||
Package: glare-api
|
||||
Architecture: all
|
||||
Depends: glare-common (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${ostack-lsb-base},
|
||||
${python:Depends},
|
||||
Description: Artifact Repository - API server
|
||||
The Glance project provides services for discovering, registering, and
|
||||
retrieving virtual machine images over the cloud. They may be stand-alone
|
||||
services, or may be used to deliver images from object stores, such as
|
||||
OpenStack's Swift service, to Nova's compute nodes.
|
||||
.
|
||||
This package contains the Glance API server.
|
||||
|
||||
Package: glare-common
|
||||
Architecture: all
|
||||
Depends: python-glare (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${python:Depends},
|
||||
Description: Artifact Repository - common files
|
||||
Glare (from GLare Artifact REpository) is a service that provides access
|
||||
to a unified catalog of structured meta-information as well as related
|
||||
binary data (these structures are also called 'artifacts').
|
||||
.
|
||||
This package contains common files for Glance.
|
||||
|
||||
Package: python-glare-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends},
|
||||
${sphinxdoc:Depends},
|
||||
Description: OpenStack Image Registry and Delivery Service - Documentation
|
||||
Glare (from GLare Artifact REpository) is a service that provides access
|
||||
to a unified catalog of structured meta-information as well as related
|
||||
binary data (these structures are also called 'artifacts').
|
||||
.
|
||||
This package contains the documentation.
|
|
@ -0,0 +1,28 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: glare
|
||||
Source: https://github.com/openstack/glare
|
||||
|
||||
Files: *
|
||||
Copyright: (c) 2016, Mikhail Fedosin <mfedosin@mirantis.com>
|
||||
License: Apache-2
|
||||
|
||||
Files: debian/*
|
||||
Copyright: (c) 2016, Ivan Udovichenko <iudovichenko@mirantis.com>
|
||||
(c) 2016, Thomas Goirand <zigo@debian.org>
|
||||
License: Apache-2
|
||||
|
||||
License: Apache-2
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
.
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
.
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
.
|
||||
On Debian-based systems the full text of the Apache version 2.0 license
|
||||
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
|
@ -0,0 +1 @@
|
|||
ostack-lsb-base= lsb-base (>= 3.0-6)
|
|
@ -0,0 +1,8 @@
|
|||
[DEFAULT]
|
||||
upstream-branch = master
|
||||
debian-branch = debian/newton
|
||||
upstream-tag = %(version)s
|
||||
compression = xz
|
||||
|
||||
[buildpackage]
|
||||
export-dir = ../build-area/
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: glance-api
|
||||
# Required-Start: $network $local_fs $remote_fs $syslog
|
||||
# Required-Stop: $remote_fs
|
||||
# Should-Start: postgresql mysql keystone ntp rabbitmq-server
|
||||
# Should-Stop: postgresql mysql keystone ntp rabbitmq-server
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Glance API server
|
||||
# Description: Frontend Glance API server
|
||||
### END INIT INFO
|
||||
|
||||
# Author: Thomas Goirand <zigo@debian.org>
|
||||
DESC="OpenStack Artifact Repository API"
|
||||
PROJECT_NAME=glare
|
||||
NAME=${PROJECT_NAME}-api
|
||||
CONFIG_FILE=/etc/${PROJECT_NAME}/glare-api.conf
|
|
@ -0,0 +1 @@
|
|||
usr/bin/glare-api
|
|
@ -0,0 +1,3 @@
|
|||
usr/bin/glare-db-manage
|
||||
usr/etc/glare/glare-paste.ini etc/glare
|
||||
usr/etc/glare/glare-swift.conf.sample etc/glare
|
|
@ -0,0 +1,9 @@
|
|||
Document: glare-doc
|
||||
Title: Glare Documentation
|
||||
Author: OpenStack
|
||||
Abstract: Sphinx documentation for Glare
|
||||
Section: Network/File Transfer
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/python-glare-doc/html/index.html
|
||||
Files: /usr/share/doc/python-glare-doc/html/*
|
|
@ -0,0 +1 @@
|
|||
usr/lib/python*/dist-packages/*
|
|
@ -0,0 +1,53 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/openstack-pkg-tools/pkgos.make
|
||||
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=python_distutils --with python2,sphinxdoc,systemd
|
||||
|
||||
override_dh_auto_clean:
|
||||
find . -iname '*.pyc' -delete
|
||||
rm -f debian/*.init debian/*.upstart debian/*.service
|
||||
rm -rf build
|
||||
|
||||
override_dh_auto_test:
|
||||
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||
@echo "===> Running tests"
|
||||
set -e ; set -x ; for i in 2.7 ; do \
|
||||
PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
|
||||
echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
|
||||
rm -rf .testrepository ; \
|
||||
testr-python$$PYMAJOR init ; \
|
||||
TEMP_REZ=`mktemp -t` ; \
|
||||
PYTHONPATH=$(CURDIR) PYTHON=python$$i testr-python$$PYMAJOR run --subunit --parallel 'glare\.tests\.unit\.*' | tee $$TEMP_REZ | subunit2pyunit ; \
|
||||
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
|
||||
rm -f $$TEMP_REZ ; \
|
||||
testr-python$$PYMAJOR slowest ; \
|
||||
done
|
||||
endif
|
||||
|
||||
override_dh_auto_install:
|
||||
echo "Please do nothing"
|
||||
|
||||
override_dh_installman:
|
||||
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
|
||||
sphinx-build $(SPHINXOPTS) -b man doc/source doc/build/man
|
||||
dh_installman -O--buildsystem=python_distutils
|
||||
endif
|
||||
|
||||
override_dh_sphinxdoc:
|
||||
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
|
||||
sphinx-build $(SPHINXOPTS) -b html doc/source $(CURDIR)/debian/python-glare-doc/usr/share/doc/python-glare-doc/html
|
||||
dh_sphinxdoc -O--buildsystem=python_distutils
|
||||
endif
|
||||
|
||||
override_dh_install:
|
||||
rm -rf $(CURDIR)/debian/tmp
|
||||
python2.7 setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp
|
||||
dh_install -O--buildsystem=python_distutils --fail-missing
|
||||
mkdir -p $(CURDIR)/debian/glare-common/usr/share/glare-common
|
||||
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator \
|
||||
--config-file=etc/oslo-config-generator/glare.conf
|
||||
|
||||
install -D -m 0664 etc/glare.conf.sample $(CURDIR)/debian/glare-common/etc/glare/glare.conf
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,2 @@
|
|||
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
||||
extend-diff-ignore = "^[.]gitreview$"
|
|
@ -0,0 +1,3 @@
|
|||
version=3
|
||||
opts="uversionmangle=s/\.(b|rc)/~$1/" \
|
||||
https://github.com/openstack/glare/tags .*/(\d[\d\.]+)\.tar\.gz
|
Loading…
Reference in New Issue