rpms/python-debian/devel import.log, NONE, 1.1 python-debian.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Miroslav Suchý msuchy at fedoraproject.org
Wed May 12 08:05:56 UTC 2010


Author: msuchy

Update of /cvs/pkgs/rpms/python-debian/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv13468/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-debian.spec 
Log Message:
Import of new version of python-debian to devel branch.



--- NEW FILE import.log ---
python-debian-0_1_16-3_el6:HEAD:python-debian-0.1.16-3.el6.src.rpm:1273651484


--- NEW FILE python-debian.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-debian
Version:        0.1.16
Release:        3%{?dist}
Summary:        Modules for Debian-related data formats
# debfile.py, arfile.py, debtags.py are release under GPL v3 or above
# everything else is GPLv2+
License:        GPLv2+ and GPLv3+
Group:          Development/Libraries
Source0:        http://ftp.debian.org/debian/pool/main/p/python-debian/python-debian_%{version}.tar.gz
URL:            http://git.debian.org/?p=pkg-python-debian/python-debian.git
BuildRequires:  python-devel
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch:      noarch
Requires:       python >= 2.4
BuildRequires:  python-devel, python-setuptools


%description
This package provides Python modules that abstract many formats of Debian 
related files. Currently handled are:
* Debtags information (debian.debtags module)
* debian/changelog (debian.changelog module)
* Packages files, pdiffs (debian.debian_support module)
* Control files of single or multiple RFC822-style paragraphs, e.g.
  debian/control, .changes, .dsc, Packages, Sources, Release, etc.
  (debian.deb822 module)
* Raw .deb and .ar files, with (read-only) access to contained
  files and meta-information


%prep
%setup -q -n python-debian


%build
sed -e 's/__CHANGELOG_VERSION__/$(VERSION)/' < setup.py.in > setup.py
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT


%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%{__python} setup.py clean

%check
cd tests;
./test_deb822.py
#TODO - fix this test
#./test_debfile.py
./test_debtags.py
./test_changelog.py
./test_debian_support.py


%files
%defattr(-,root,root,-)
%dir %{python_sitelib}/debian
%dir %{python_sitelib}/debian_bundle
%{python_sitelib}/*.py*
%{python_sitelib}/debian/*.py*
%{python_sitelib}/debian_bundle/__init__.py*
%{python_sitelib}/python_debian*

%doc README README.changelog README.deb822 HISTORY.deb822 ACKNOWLEDGEMENTS

%changelog
* Fri May  7 2010 Miroslav Suchy <msuchy at redhat.com>
- use proper tar.gz from upstream
- add %%check section

* Fri Apr 30 2010 Miroslav Suchy <msuchy at redhat.com> 0.1.16-2
- add dist tag

* Thu Apr 22 2010 Lukáš Ďurfina <lukas.durfina at gmail.com> 0.1.16-1
- Creation of package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-debian/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	9 May 2010 02:12:06 -0000	1.1
+++ .cvsignore	12 May 2010 08:05:53 -0000	1.2
@@ -0,0 +1 @@
+python-debian_0.1.16.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-debian/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	9 May 2010 02:12:06 -0000	1.1
+++ sources	12 May 2010 08:05:55 -0000	1.2
@@ -0,0 +1 @@
+e478068f1cffdab5019bf072f84ee90b  python-debian_0.1.16.tar.gz



More information about the scm-commits mailing list