Commit 44d1f72f authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

add debian packaging information

parent 89ec532bb67b
cubicweb-basket (1.0.3-1) unstable; urgency=low
* first public release
-- Nicolas Chauvat <nicolas.chauvat@logilab.fr> Mon, 27 Oct 2008 20:20:03 +0100
Source: cubicweb-basket
Section: web
Priority: optional
Maintainer: Logilab Packaging Team <contact@logilab.fr>
Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>
Build-Depends: debhelper (>= 5.0.37.1), python (>=2.4), python-dev (>=2.4)
Standards-Version: 3.8.0
Package: cubicweb-basket
Architecture: all
Depends: python2.4, cubicweb-common (>= 3.0.0)
Description: Basket support for the CubicWeb framework
CubicWeb is a semantic web application framework.
.
This package provides baskets as a way to select content in cubicweb
applications.
This package was debianized by Logilab <contact@logilab.fr>.
Upstream Author:
Logilab <contact@logilab.fr>
Copyright:
Copyright (c) 2003-2008 LOGILAB S.A. (Paris, FRANCE).
http://www.logilab.fr/ -- mailto:contact@logilab.fr
This code is under LGPL .
usr/share/cubicweb/cubes/basket
#!/bin/sh -e
delete_pyo_pyc () {
find /usr/share/cubicweb/cubes/basket -name "*.pyc" | xargs rm -f
find /usr/share/cubicweb/cubes/basket -name "*.pyo" | xargs rm -f
}
case "$1" in
failed-upgrade|abort-install|abort-upgrade|disappear)
;;
upgrade)
delete_pyo_pyc
;;
remove)
delete_pyo_pyc
;;
purge)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
esac
#DEBHELPER#
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
dh_testdir
python setup.py -q build
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
rm -rf build
find . -name "*.pyc" | xargs rm -f
rm -f changelog.gz
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs -i
python setup.py -q install --no-compile --prefix=debian/cubicweb-basket/usr/
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_install -i
# dh_pycentral -i
# dh_python -i
# gzip -9 -c ChangeLog > changelog.gz
dh_installchangelogs -i
dh_installexamples -i
dh_installdocs -i
dh_installman -i
dh_link -i
dh_compress -i -X.py -X.ini -X.xml -Xtest
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch:
binary: binary-indep
.PHONY: build clean binary-arch binary-indep binary
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment