rpms/pycryptopp/F-12 import.log, NONE, 1.1 pycryptopp-do_not_regenerate_darcs_stuff.patch, NONE, 1.1 pycryptopp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ruben Kerkhof
ruben at fedoraproject.org
Tue Nov 24 15:42:11 UTC 2009
Author: ruben
Update of /cvs/pkgs/rpms/pycryptopp/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23920/F-12
Modified Files:
.cvsignore sources
Added Files:
import.log pycryptopp-do_not_regenerate_darcs_stuff.patch
pycryptopp.spec
Log Message:
Initial import into F-12
--- NEW FILE import.log ---
pycryptopp-0_5_17-4_fc11:F-12:pycryptopp-0.5.17-4.fc11.src.rpm:1259077310
pycryptopp-do_not_regenerate_darcs_stuff.patch:
setup.cfg | 9 ---------
setup.py | 20 --------------------
2 files changed, 29 deletions(-)
--- NEW FILE pycryptopp-do_not_regenerate_darcs_stuff.patch ---
--- pycryptopp-0.5.17/setup.cfg.orig
+++ pycryptopp-0.5.17/setup.cfg
@@ -6,12 +6,3 @@ tag_build =
tag_date = 0
tag_svn_revision = 0
-[aliases]
-sdist_dsc = darcsver --count-all-patches sdist_dsc
-sdist = darcsver --count-all-patches sdist
-trial = darcsver --count-all-patches trial
-build = darcsver --count-all-patches build
-install = darcsver --count-all-patches install
-test = darcsver --count-all-patches test
-bdist_egg = darcsver --count-all-patches bdist_egg
-
--- pycryptopp-0.5.17/setup.py.orig
+++ pycryptopp-0.5.17/setup.py
@@ -207,31 +207,11 @@ dependency_links=[os.path.join(miscdeps,
setup_requires = []
install_requires = ['setuptools >= 0.6a9'] # for pkg_resources for loading test vectors for unit tests
-# The darcsver command from the darcsver plugin is needed to initialize the
-# distribution's .version attribute. (It does this either by examining darcs
-# history, or if that fails by reading the pycryptopp/_version.py
-# file). darcsver will also write a new version stamp in
-# pycryptopp/_version.py, with a version number derived from darcs
-# history. Note that the setup.cfg file has an "[aliases]" section which
-# enumerates commands that you might run and specifies that it will run
-# darcsver before each one. If you add different commands (or if I forgot some
-# that are already in use), you may need to add it to setup.cfg and configure
-# it to run darcsver before your command, if you want the version number to be
-# correct when that command runs. http://pypi.python.org/pypi/darcsver
-setup_requires.append('darcsver >= 1.2.0')
-
# setuptools_pyflakes is needed only if you want "./setup.py flakes" to run
# pyflakes on all the pycryptopp modules.
if 'flakes' in sys.argv[1:]:
setup_requires.append('setuptools_pyflakes >= 1.0.0')
-# setuptools_darcs is required to produce complete distributions (such as
-# with "sdist" or "bdist_egg"), unless there is a
-# pycryptopp.egg-info/SOURCES.txt file present which contains a complete list
-# of needed files.
-# http://pypi.python.org/pypi/setuptools_darcs
-setup_requires.append('setuptools_darcs >= 1.0.5')
-
# stdeb is required to produce Debian files with "sdist_dsc".
# http://github.com/astraw/stdeb/tree/master
if "sdist_dsc" in sys.argv:
--- NEW FILE pycryptopp.spec ---
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: pycryptopp
Version: 0.5.17
Release: 4%{?dist}
Summary: Python wrappers for the Crypto++ library
Group: Development/Languages
# we don't use the embedded cryptopp library
# but link against the one in Fedora
#
# all the files we distribute in the binary rpm
# are GPLv2+ or TGPPL
#
# see copyright for details
License: GPLv2+
URL: http://allmydata.org/trac/pycryptopp
Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, cryptopp-devel, python-setuptools
Patch0: pycryptopp-do_not_regenerate_darcs_stuff.patch
%description
PyCryptopp is a set of Python wrappers for a few
of the best crypto algorithms from the Crypto++ library
(including SHA-256, AES, RSA signatures and Elliptic Curve DSA signatures).
%prep
%setup -q
%patch0 -p1
%build
CFLAGS="%{optflags}" %{__python} setup.py build --disable-embedded-cryptopp
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
rm -rf %{buildroot}%{_docdir}/%{name}/
%clean
rm -rf %{buildroot}
%check
CFLAGS="%{optflags}" %{__python} setup.py test
# tests are done, remove them
rm -rf %{buildroot}%{python_sitearch}/%{name}/test/
rm -rf %{buildroot}%{python_sitearch}/%{name}/testvectors/
%files
%defattr(-,root,root,-)
%doc COPYING.GPL COPYING.TGPPL.html README.txt ChangeLog copyright
%{python_sitearch}/*
%changelog
* Mon Nov 16 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.5.17-4
- Initial import into devel
* Wed Nov 11 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.5.17-2
- Review fixes (#521719)
* Thu Sep 24 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.5.17-1
- Upstream released new version
* Mon Sep 14 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.5.15-3
- Review cleanup (#521719)
* Wed Sep 09 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.5.15-2
- Fix segfaults (upstream change #669)
* Tue Sep 08 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.5.15-1
- Initial import
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pycryptopp/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 13 Nov 2009 19:38:42 -0000 1.1
+++ .cvsignore 24 Nov 2009 15:42:10 -0000 1.2
@@ -0,0 +1 @@
+pycryptopp-0.5.17.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pycryptopp/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 13 Nov 2009 19:38:42 -0000 1.1
+++ sources 24 Nov 2009 15:42:11 -0000 1.2
@@ -0,0 +1 @@
+b3d19e7203531f8bd241ae58062f99e4 pycryptopp-0.5.17.tar.gz
More information about the fedora-extras-commits
mailing list