diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..42bda74 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-lesscpy (0.9h-1) experimental; urgency=low + + * Initial release. (Closes: #717382) + + -- Thomas Goirand Sat, 20 Jul 2013 00:45:19 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1cf64b8 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: python-lesscpy +Section: python +Priority: optional +Maintainer: PKG OpenStack +Uploaders: Loic Dachary (OuoU) , + Julien Danjou , + Thomas Goirand , + Ghe Rivero , + Mehdi Abaakouk +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..894c583 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: lesscpy +Upstream-Contact: Johann T Mariusson +Source: git://github.com/robotis/Lesscpy.git + +Files: debian/* +Copyright: (c) 2013, Thomas Goirand +License: MIT + +Files: * +Copyright: (c) 2012, Johann T Mariusson + (c) 2012, Patrick + (c) 2012, Simon de Haan +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. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..fd8ec27 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,9 @@ +[DEFAULT] +upstream-branch = master +debian-branch = debian/unstable +upstream-tag = %(version)s +compression = xz + +[git-buildpackage] +export-dir = ../build-area/ + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..04f1865 --- /dev/null +++ b/debian/rules @@ -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 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..00c8f2f --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://pypi.python.org/packages/source/l/lesscpy lesscpy-(.*).tar.gz +