Added initial debian folder.

This commit is contained in:
Thomas Goirand
2013-07-20 11:39:25 +08:00
parent 6d52e2927d
commit c82910b6de
8 changed files with 100 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@@ -0,0 +1,5 @@
python-lesscpy (0.9h-1) experimental; urgency=low
* Initial release. (Closes: #717382)
-- Thomas Goirand <zigo@debian.org> Sat, 20 Jul 2013 00:45:19 +0800

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

28
debian/control vendored Normal file
View File

@@ -0,0 +1,28 @@
Source: python-lesscpy
Section: python
Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Loic Dachary (OuoU) <loic@debian.org>,
Julien Danjou <acid@debian.org>,
Thomas Goirand <zigo@debian.org>,
Ghe Rivero <ghe.rivero@stackops.com>,
Mehdi Abaakouk <sileht@sileht.net>
Build-Depends: debhelper (>= 9), python3-setuptools, python3-all, openstack-pkg-tools
Standards-Version: 3.9.4
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-lesscpy.git
Vcs-Git: git://anonscm.debian.org/openstack/python-lesscpy.git
Homepage: https://pypi.python.org/pypi/lesscpy
Package: python3-lesscpy
Architecture: all
Pre-Depends: dpkg (>= 1.15.6~)
Depends: python3-ply, ${python3:Depends}, ${misc:Depends}
Recommends: ${python3:Recommends}
Description: LessCss Compiler for Python 3
Lesscpy is a compiler written in Python 3 for the lesscss language. It is very
useful if node.js can't be installed in the environment. Not all features of
lesscss are supported (yet). Some features wil probably never be supported
(JavaScript evaluation).
.
This program uses PLY (Python Lex-Yacc) to tokenize/parse the input and is
considerably slower than the nodejs compiler.

33
debian/copyright vendored Normal file
View File

@@ -0,0 +1,33 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: lesscpy
Upstream-Contact: Johann T Mariusson <jtm@robot.is>
Source: git://github.com/robotis/Lesscpy.git
Files: debian/*
Copyright: (c) 2013, Thomas Goirand <zigo@debian.org>
License: MIT
Files: *
Copyright: (c) 2012, Johann T Mariusson <jtm@robot.is>
(c) 2012, Patrick <patrick@koumbit.org>
(c) 2012, Simon de Haan <simon@praekeltfoundation.org>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

9
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,9 @@
[DEFAULT]
upstream-branch = master
debian-branch = debian/unstable
upstream-tag = %(version)s
compression = xz
[git-buildpackage]
export-dir = ../build-area/

20
debian/rules vendored Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/make -f
UPSTREAM_GIT = git://github.com/robotis/Lesscpy.git
include /usr/share/openstack-pkg-tools/pkgos.make
PYTHONS:=$(shell pyversions -vr)
PYTHON3S:=$(shell py3versions -vr)
%:
dh $@ --buildsystem=python_distutils --with python3
override_dh_clean:
dh_clean -O--buildsystem=python_distutils
rm -rf build
override_dh_auto_install:
set -e && for pyvers in $(PYTHON3S); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-lesscpy; \
done

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)

3
debian/watch vendored Normal file
View File

@@ -0,0 +1,3 @@
version=3
http://pypi.python.org/packages/source/l/lesscpy lesscpy-(.*).tar.gz