rpms/pyutil/F-12 import.log, NONE, 1.1 pyutil-remove-darcs-dep.patch, NONE, 1.1 pyutil.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ruben Kerkhof ruben at fedoraproject.org
Sun Feb 21 10:36:05 UTC 2010


Author: ruben

Update of /cvs/pkgs/rpms/pyutil/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27777/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pyutil-remove-darcs-dep.patch pyutil.spec 
Log Message:
Initial import into F-12



--- NEW FILE import.log ---
pyutil-1_6_1-4_fc13:F-12:pyutil-1.6.1-4.fc13.src.rpm:1266748502

pyutil-remove-darcs-dep.patch:
 setup.py |   12 ------------
 1 file changed, 12 deletions(-)

--- NEW FILE pyutil-remove-darcs-dep.patch ---
diff -up pyutil-1.6.1/setup.py.orig pyutil-1.6.1/setup.py
--- pyutil-1.6.1/setup.py.orig	2010-02-12 20:15:41.000000000 +0100
+++ pyutil-1.6.1/setup.py	2010-02-12 20:16:12.000000000 +0100
@@ -59,18 +59,6 @@ else:
 
 setup_requires = []
 
-# darcsver is needed only if you want "./setup.py darcsver" to write a new
-# version stamp in pyutil/_version.py, with a version number derived from
-# darcs history.  http://pypi.python.org/pypi/darcsver
-if 'darcsver' in sys.argv[1:]:
-    setup_requires.append('darcsver >= 1.0.0')
-
-# setuptools_darcs is required to produce complete distributions (such as with
-# "sdist" or "bdist_egg"), unless there is a pyutil.egg-info/SOURCE.txt file
-# present which contains a complete list of files that should be included.
-# http://pypi.python.org/pypi/setuptools_darcs
-setup_requires.append('setuptools_darcs >= 1.1.0')
-
 data_fnames=[ 'COPYING.GPL', 'COPYING.TGPPL.html', 'README.txt', 'CREDITS' ]
 
 # In case we are building for a .deb with stdeb's sdist_dsc command, we put the


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

Name:           pyutil
Version:        1.6.1
Release:        4%{?dist}
Summary:        A collection of mature utilities for Python programmers

Group:          Development/Languages
License:        GPLv2+
URL:            http://allmydata.org/trac/pyutil
Source0:        http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
Patch0:         pyutil-remove-darcs-dep.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel, python-setuptools, python-argparse, python-zbase32
Requires:	python-twisted-core, python-argparse, python-zbase32

# For testsuite:
BuildRequires:  python-twisted-core, net-tools

%description
These are a few data structures, classes and functions which we've needed
over many years of Python programming and which seem to be of general use
to other Python programmers. Many of the modules that have existed in pyutil
over the years have subsequently been obsoleted by new features added to
the Python language or its standard library, thus showing that we're not
alone in wanting tools like these.

%prep
%setup -q
# remove dependency on darcs
%patch0 -p1


%build
python setup.py build


%install
rm -rf %{buildroot}
python setup.py install -O1 --skip-build --root %{buildroot}

# rename the utilities to something less generic
mv %{buildroot}%{_bindir}/lines %{buildroot}%{_bindir}/%{name}_lines
mv %{buildroot}%{_bindir}/randcookie %{buildroot}%{_bindir}/%{name}_randcookie
mv %{buildroot}%{_bindir}/randfile %{buildroot}%{_bindir}/%{name}_randfile
mv %{buildroot}%{_bindir}/tailx %{buildroot}%{_bindir}/%{name}_tailx
mv %{buildroot}%{_bindir}/unsort %{buildroot}%{_bindir}/%{name}_unsort

# remove shebang
find %{buildroot}%{python_sitelib}/%{name} -type f -name \*.py -o -name test_template | \
	xargs sed -i '/^#!\/usr\/bin\/env/d'
 
%clean
rm -rf %{buildroot}

%check
%{__python} setup.py test


%files
%defattr(-,root,root,-)
%doc README.txt COPYING.GPL COPYING.TGPPL.html CREDITS
%{python_sitelib}/*
%{_bindir}/%{name}_lines
%{_bindir}/%{name}_randcookie
%{_bindir}/%{name}_randfile
%{_bindir}/%{name}_tailx
%{_bindir}/%{name}_unsort



%changelog
* Sat Feb 13 2010 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.6.1-4
- Review fixes (#560457)

* Sat Feb 13 2010 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.6.1-3
- Rename utilities to something less generic
- BR Twisted for testsuite

* Fri Feb 12 2010 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.6.1-2
- Remove dependency on darcs

* Sun Jan 31 2010 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.6.1-1
- Initial import



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pyutil/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	19 Feb 2010 19:28:45 -0000	1.1
+++ .cvsignore	21 Feb 2010 10:36:05 -0000	1.2
@@ -0,0 +1 @@
+pyutil-1.6.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyutil/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	19 Feb 2010 19:28:46 -0000	1.1
+++ sources	21 Feb 2010 10:36:05 -0000	1.2
@@ -0,0 +1 @@
+b45bf227a716869ed272e5a0514895a2  pyutil-1.6.1.tar.gz



More information about the scm-commits mailing list