From: biao716.wang Date: Wed, 13 May 2020 08:24:32 +0000 (+0900) Subject: Add debian for tools usage X-Git-Tag: accepted/tools/devbase/tools/legacy/20240422.110916 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftools%2Fdevbase%2Ftools%2Flegacy%2F20240422.110916;p=tools%2Fyum-metadata-parser.git Add debian for tools usage createrepo packages need to use this debian package Change-Id: I2f1d1956327565433bb96aa3fc0f90188a14bbf7 Signed-off-by: biao716.wang --- diff --git a/debian/changelog b/debian/changelog new file mode 100755 index 0000000..196bf5d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,51 @@ +yum-metadata-parser (1.1.4-1) unstable; urgency=low + + * New upstream release. + * New maintainer. (Closes: #673978) Thanks to Adam for his work. + * Drop patches no longer needed: + - 000-Fix_CFLAGS_handling.dpatch: Do not clear default CFLAGS. + - 001-Use_pysqlite2.dpatch: No need, sqlite3 has long been standard. + * Drop alternative Depends on python-pysqlite2, sqlite3 has long been + standard. + * Drop Build-Depends on dpatch and update source format to 3.0 (quilt). + Thanks to Jari Aalto. (Closes: #664297) + * Bump debhelper compatibility level to 9. + * Update packaging to current Python Policy recommendations: + - debian/rules: Switch to using dh --with python2. + - Bump Build-Depends on python-all-dev to (>= 2.6.6-3~) for switch to + building with dh_python2. + - Drop Build-Depends on python-all, it is pulled in via python-all-dev. + - Drop Build-Depends on deprecated python-support, now using dh_python2. + - Add X-Python-Version control field. + * Drop obsolete debian/pyversions. + * debian/control: + - Update package description. + - Add Homepage control field. (Closes: #615396) + - Add Vcs-Git and Vcs-Browser fields. + - Bump Standards-Version to 3.9.4. No further changes needed. + * debian/copyright: Convert to machine-readable format 1.0. + * debian/watch: Update to correct upstream URL. + + -- Mike Miller Sun, 02 Jun 2013 11:55:17 -0400 + +yum-metadata-parser (1.1.2-1) unstable; urgency=low + + * New upstream release. + * Add debian/watch files, thanks to Piotr Ożarowski. + * Drop useless debian/dirs. + + -- Adam Cécile (Le_Vert) Thu, 04 Oct 2007 14:27:01 +0200 + +yum-metadata-parser (1.1.1-2) unstable; urgency=low + + * Add missing runtime dependency on python-pysqlite2 (or python > 2.5). + * Use pysqlite2 instead of python-sqlite (001-Use_pysqlite2 patch), + suggested by Piotr Ożarowski. + + -- Adam Cécile (Le_Vert) Mon, 27 Aug 2007 10:32:17 +0200 + +yum-metadata-parser (1.1.1-1) unstable; urgency=low + + * Initial release (Closes: #435879). + + -- Adam Cécile (Le_Vert) Fri, 03 Aug 2007 22:52:22 +0200 diff --git a/debian/compat b/debian/compat new file mode 100755 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100755 index 0000000..956ecb0 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: yum-metadata-parser +Section: python +Priority: extra +Maintainer: Mike Miller +Build-Depends: debhelper (>= 9), dh-python, python-dev, python-all-dev (>= 2.6.6-3~), pkg-config, libglib2.0-dev, libsqlite3-dev, libxml2-dev +Standards-Version: 3.9.4 +X-Python-Version: >= 2.4 +Homepage: http://yum.baseurl.org/ +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/mtmiller-guest/yum-metadata-parser.git +Vcs-Git: git://anonscm.debian.org/users/mtmiller-guest/yum-metadata-parser.git + +Package: python-sqlitecachec +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends} +Provides: ${python:Provides} +Description: Fast metadata parser for yum + Python module providing a fast metadata parser for yum implemented in C. + The sqlitecachec module is used by createrepo and the yum package manager + to update and query local caches of RPM package repositories. diff --git a/debian/docs b/debian/docs new file mode 100755 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4647c9c --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python2