[Python-modules-commits] r5694 - in packages/creoleparser/trunk/debian (9 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Wed Jun 18 21:52:41 UTC 2008
Date: Wednesday, June 18, 2008 @ 21:52:40
Author: bzed
Revision: 5694
Preparing package for uploading.
Added:
packages/creoleparser/trunk/debian/docs
packages/creoleparser/trunk/debian/patches/
packages/creoleparser/trunk/debian/patches/00dpatch.conf
packages/creoleparser/trunk/debian/patches/00list
packages/creoleparser/trunk/debian/patches/no-setuptools-please.dpatch
packages/creoleparser/trunk/debian/watch
Modified:
packages/creoleparser/trunk/debian/changelog
packages/creoleparser/trunk/debian/control
packages/creoleparser/trunk/debian/rules
Modified: packages/creoleparser/trunk/debian/changelog
===================================================================
--- packages/creoleparser/trunk/debian/changelog 2008-06-18 21:30:46 UTC (rev 5693)
+++ packages/creoleparser/trunk/debian/changelog 2008-06-18 21:52:40 UTC (rev 5694)
@@ -1,6 +1,6 @@
creoleparser (0.5.0-1) unstable; urgency=low
- * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+ * Initial release (Closes: #486909)
-- Bernd Zeimetz <bzed at debian.org> Wed, 18 Jun 2008 23:28:55 +0200
Modified: packages/creoleparser/trunk/debian/control
===================================================================
--- packages/creoleparser/trunk/debian/control 2008-06-18 21:30:46 UTC (rev 5693)
+++ packages/creoleparser/trunk/debian/control 2008-06-18 21:52:40 UTC (rev 5694)
@@ -1,13 +1,20 @@
Source: creoleparser
-Section: unknown
-Priority: extra
-Maintainer: Bernd Zeimetz <bzed at debian.org>
-Build-Depends: debhelper (>= 6)
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Bernd Zeimetz <bzed at debian.org>
+Build-Depends: debhelper (>= 5), python-all, python-genshi, dpatch
Standards-Version: 3.7.3
-Homepage: <insert the upstream URL, if relevant>
+Homepage: http://creoleparser.googlepages.com
Package: creoleparser
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Architecture: all
+Depends: ${python:Depends}, python-genshi, ${misc:Depends}
+Description: Parser for the Creole common wiki markup language
+ Creoleparser is a Python library for converting Creole wiki markup for
+ output on the web. It is a full implementation of the Creole 1.0
+ specification and aims to follow the spec exactly.
+ Creole is a common wiki markup language to be used across different wikis.
+ It's not replacing existing markup but instead enabling wiki users to
+ transfer content seamlessly across wikis, and for novice users to contribute
+ more easily.
Added: packages/creoleparser/trunk/debian/docs
===================================================================
--- packages/creoleparser/trunk/debian/docs (rev 0)
+++ packages/creoleparser/trunk/debian/docs 2008-06-18 21:52:40 UTC (rev 5694)
@@ -0,0 +1,2 @@
+CHANGES.txt
+README.txt
Added: packages/creoleparser/trunk/debian/patches/00dpatch.conf
===================================================================
--- packages/creoleparser/trunk/debian/patches/00dpatch.conf (rev 0)
+++ packages/creoleparser/trunk/debian/patches/00dpatch.conf 2008-06-18 21:52:40 UTC (rev 5694)
@@ -0,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs
Added: packages/creoleparser/trunk/debian/patches/00list
===================================================================
--- packages/creoleparser/trunk/debian/patches/00list (rev 0)
+++ packages/creoleparser/trunk/debian/patches/00list 2008-06-18 21:52:40 UTC (rev 5694)
@@ -0,0 +1 @@
+no-setuptools-please.dpatch
Added: packages/creoleparser/trunk/debian/patches/no-setuptools-please.dpatch
===================================================================
--- packages/creoleparser/trunk/debian/patches/no-setuptools-please.dpatch (rev 0)
+++ packages/creoleparser/trunk/debian/patches/no-setuptools-please.dpatch 2008-06-18 21:52:40 UTC (rev 5694)
@@ -0,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## no-setuptools-please.dpatch by Bernd Zeimetz <bzed at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad creoleparser~/setup.py creoleparser/setup.py
+--- creoleparser~/setup.py 2008-05-10 21:12:56.000000000 +0200
++++ creoleparser/setup.py 2008-06-18 23:48:34.000000000 +0200
+@@ -1,11 +1,6 @@
+ #!/usr/bin/env python
+
+-try:
+- from setuptools import setup
+-except ImportError:
+- print 'setuptools not installed, using distutils.core'
+- print 'please ignore error message about "install_requires"'
+- from distutils.core import setup
++from distutils.core import setup
+
+
+ setup(name='Creoleparser',
Property changes on: packages/creoleparser/trunk/debian/patches/no-setuptools-please.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Modified: packages/creoleparser/trunk/debian/rules
===================================================================
--- packages/creoleparser/trunk/debian/rules 2008-06-18 21:30:46 UTC (rev 5693)
+++ packages/creoleparser/trunk/debian/rules 2008-06-18 21:52:40 UTC (rev 5694)
@@ -1,88 +1,74 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+PKGNAME:=python-creoleparser
+PYVERS:=$(shell pyversions -r)
+include /usr/share/dpatch/dpatch.make
-
-
-configure: configure-stamp
-configure-stamp:
+build: patch build-stamp
+build-stamp:
dh_testdir
- # Add here commands to configure the package.
- touch configure-stamp
+ set -e; \
+ for py in $(PYVERS); do \
+ $$py setup.py build; \
+ done
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ set -e ;\
+ cd tests ;\
+ for py in $(PYVERS); do \
+ PYTHONPATH=$(CURDIR)/build/lib $$py $(CURDIR)/build/lib/creoleparser/__init__.py; \
+ done
+endif
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/creoleparser.sgml > creoleparser.1
-
touch $@
-clean:
+clean: clean-patched unpatch
+clean-patched: patch-stamp
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
-
+ rm -f install-stamp build-stamp
+ -for py in $(PYVERS); do \
+ $$py setup.py clean; \
+ done
+ find . -name \*.pyc | xargs rm -f
+ rm -rf build
dh_clean
-install: build
+install: install-stamp
+install-stamp:
dh_testdir
dh_testroot
- dh_clean -k
+ dh_clean -k
dh_installdirs
+ set -e; \
+ for py in $(PYVERS); do \
+ $$py setup.py install --root=debian/$(PKGNAME); \
+ done
- # Add here commands to install the package into debian/creoleparser.
- $(MAKE) DESTDIR=$(CURDIR)/debian/creoleparser install
+ dh_installdocs -A
+ touch install-stamp
-
-# Build architecture-independent files here.
-binary-indep: build install
+binary-arch: build install
# We have nothing to do by default.
-# Build architecture-dependent files here.
-binary-arch: build install
+binary-indep: build install
dh_testdir
dh_testroot
- dh_installchangelogs CHANGES.txt
- dh_installdocs
- dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip
- dh_compress
+ dh_installchangelogs
+ dh_compress -X.py
dh_fixperms
-# dh_perl
-# dh_makeshlibs
+ dh_pysupport
dh_installdeb
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install \
+ clean-patched patch unpatch
+
Added: packages/creoleparser/trunk/debian/watch
===================================================================
--- packages/creoleparser/trunk/debian/watch (rev 0)
+++ packages/creoleparser/trunk/debian/watch 2008-06-18 21:52:40 UTC (rev 5694)
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/C/c/ \
+http://pypi.python.org/packages/source/C/Creoleparser/Creoleparser-(.*)\.zip
+
More information about the Python-modules-commits
mailing list