Added initial debian folder.
This commit is contained in:
parent
233b7c9512
commit
56e2096d31
|
@ -0,0 +1,5 @@
|
||||||
|
python-csscompressor (0.9.4-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release. (Closes: #XXXXXX)
|
||||||
|
|
||||||
|
-- Thomas Goirand <zigo@debian.org> Tue, 22 Dec 2015 11:25:29 +0100
|
|
@ -0,0 +1 @@
|
||||||
|
9
|
|
@ -0,0 +1,38 @@
|
||||||
|
Source: python-csscompressor
|
||||||
|
Section: python
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||||
|
Uploaders: Thomas Goirand <zigo@debian.org>,
|
||||||
|
Build-Depends: debhelper (>= 9),
|
||||||
|
dh-python,
|
||||||
|
openstack-pkg-tools,
|
||||||
|
python-all,
|
||||||
|
python-setuptools,
|
||||||
|
python3-all,
|
||||||
|
python3-setuptools,
|
||||||
|
Build-Depends-Indep: python-pytest,
|
||||||
|
python3-pytest,
|
||||||
|
Standards-Version: 3.9.6
|
||||||
|
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-csscompressor.git
|
||||||
|
Vcs-Git: git://anonscm.debian.org/openstack/python-csscompressor.git
|
||||||
|
Homepage: http://github.com/sprymix/csscompressor
|
||||||
|
|
||||||
|
Package: python-csscompressor
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends},
|
||||||
|
${python:Depends},
|
||||||
|
Description: python port of YUI CSS Compressor - Python 2.7
|
||||||
|
The python-csscompressor package provides an almost exact port of YUI CSS
|
||||||
|
Compressor. It passes all original unittests.
|
||||||
|
.
|
||||||
|
This package contains the Python 2.7 module.
|
||||||
|
|
||||||
|
Package: python3-csscompressor
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends},
|
||||||
|
${python3:Depends},
|
||||||
|
Description: python port of YUI CSS Compressor - Python 3.x
|
||||||
|
The python-csscompressor package provides an almost exact port of YUI CSS
|
||||||
|
Compressor. It passes all original unittests.
|
||||||
|
.
|
||||||
|
This package contains the Python 3.x module.
|
|
@ -0,0 +1,41 @@
|
||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: csscompressor
|
||||||
|
Source: http://github.com/sprymix/csscompressor
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: (c) 2013, Yury Selivanov <info@sprymix.com>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
License: BSD-3-clause
|
||||||
|
Redistribution and use of this software in source and binary forms, with or
|
||||||
|
without modification, are permitted provided that the following conditions are
|
||||||
|
met:
|
||||||
|
.
|
||||||
|
* Redistributions of source code must retain the above
|
||||||
|
copyright notice, this list of conditions and the
|
||||||
|
following disclaimer.
|
||||||
|
.
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the
|
||||||
|
following disclaimer in the documentation and/or other
|
||||||
|
materials provided with the distribution.
|
||||||
|
.
|
||||||
|
* Neither the name of Yahoo! Inc. nor the names of its
|
||||||
|
contributors may be used to endorse or promote products
|
||||||
|
derived from this software without specific prior
|
||||||
|
written permission of Yahoo! Inc.
|
||||||
|
.
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||||
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||||
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1,9 @@
|
||||||
|
[DEFAULT]
|
||||||
|
upstream-branch = master
|
||||||
|
debian-branch = debian/unstable
|
||||||
|
upstream-tag = %(version)s
|
||||||
|
compression = xz
|
||||||
|
|
||||||
|
[buildpackage]
|
||||||
|
export-dir = ../build-area/
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
PYTHONS:=$(shell pyversions -vr)
|
||||||
|
PYTHON3S:=$(shell py3versions -vr)
|
||||||
|
|
||||||
|
UPSTREAM_GIT = git://github.com/sprymix/csscompressor.git
|
||||||
|
include /usr/share/openstack-pkg-tools/pkgos.make
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --buildsystem=python_distutils --with python2,python3
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
set -e ; for pyvers in $(PYTHONS); do \
|
||||||
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python-csscompressor; \
|
||||||
|
done
|
||||||
|
set -e ; for pyvers in $(PYTHON3S); do \
|
||||||
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python3-csscompressor; \
|
||||||
|
done
|
||||||
|
rm -rf $(CURDIR)/debian/python*-csscompressor/usr/lib/python*/dist-packages/*.pth
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||||
|
@echo "===> Running tests"
|
||||||
|
set -e ; set -x ; for i in 2.7 $(PYTHON3S) ; do \
|
||||||
|
PYMAJOR=`echo $$i | cut -d'.' -f1` ; \
|
||||||
|
echo "===> Testing with python$$i (python$$PYMAJOR)" ; \
|
||||||
|
py.test-$$i csscompressor/tests ; \
|
||||||
|
done
|
||||||
|
endif
|
||||||
|
|
||||||
|
override_dh_clean:
|
||||||
|
dh_clean -O--buildsystem=python_distutils
|
||||||
|
rm -rf build
|
||||||
|
|
||||||
|
# Commands not to run
|
||||||
|
override_dh_installcatalogs:
|
||||||
|
override_dh_installemacsen override_dh_installifupdown:
|
||||||
|
override_dh_installinfo override_dh_installmenu override_dh_installmime:
|
||||||
|
override_dh_installmodules override_dh_installlogcheck:
|
||||||
|
override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
|
||||||
|
override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
|
||||||
|
override_dh_installcron override_dh_installdebconf:
|
||||||
|
override_dh_installlogrotate override_dh_installgsettings:
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
|
@ -0,0 +1 @@
|
||||||
|
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
|
@ -0,0 +1,3 @@
|
||||||
|
version=3
|
||||||
|
http://pypi.python.org/packages/source/c/csscompressor csscompressor-(.*).tar.gz
|
||||||
|
|
Loading…
Reference in New Issue