Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add debian package

  • Loading branch information...
commit 15c7a6ee73d580e6ae44341105c393a420bad2ab 1 parent 842fb19
@benoitc authored
View
1  .gitignore
@@ -3,6 +3,7 @@
*.pyc
*.pyo
*#*
+*.sw*
build
dist
setuptools-*
View
5 debian/changelog
@@ -0,0 +1,5 @@
+restkit (0.5.4-1) karmic; urgency=low
+
+ * bump version
+
+ -- Benoit Chesneau <benoitc@e-engura.org> Mon, 20 Jun 2011 15:52:00 +0100
View
1  debian/clean
@@ -0,0 +1 @@
+http-parser.egg-info/*
View
1  debian/compat
@@ -0,0 +1 @@
+7
View
15 debian/control
@@ -0,0 +1,15 @@
+Source: http-parser
+Section: python
+Priority: optional
+Maintainer: Benoit Chesneau <benoitc@e-engura.com>
+Build-Depends: debhelper (>= 7), python-support, python-setuptools
+Standards-Version: 3.9.0.0
+Homepage: http://github.com/benoitc/http-parser
+
+Package: python-http-parser
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Description: Python http request/response parser
+ HTTP request/response parser for Python in C under MIT License, based on
+ http-parser from Ryan Dahl.
View
23 debian/copyright
@@ -0,0 +1,23 @@
+2011 (c) Benoît Chesneau <benoitc@e-engura.org>
+
+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.
+
View
14 debian/python-http-parser.preinst
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+set -e
+
+# This was added by stdeb to workaround Debian #479852. In a nutshell,
+# pycentral does not remove normally remove its symlinks on an
+# upgrade. Since we're using python-support, however, those symlinks
+# will be broken. This tells python-central to clean up any symlinks.
+if [ -e /var/lib/dpkg/info/python-http-parser.list ] && which pycentral >/dev/null 2>&1
+then
+ pycentral pkgremove python-http-parser
+fi
+
+#DEBHELPER#
View
1  debian/pyversions
@@ -0,0 +1 @@
+2.5-
View
13 debian/rules
@@ -0,0 +1,13 @@
+#!/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
+
+%:
+ dh $@
View
1  debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
View
26 debian/watch
@@ -0,0 +1,26 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php python-couchdbkit-(.*)\.tar\.gz
+opts=dversionmangle=s/\+dfsg$// \
+ http://pypi.python.org/packages/source/c/http-parser/http-parser-(.*).tar.gz
+# http://github.com/benoitc/couchdbkit/downloads/ /benoitc/couchdbkit/tarball/([0-9].*)
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/python-couchdbkit-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/python-couchdbkit-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/python-couchdbkit/python-couchdbkit-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html python-couchdbkit-(.*)\.tar\.gz
Please sign in to comment.
Something went wrong with that request. Please try again.