[packages/python-pymox] - see python-mox.spec (both tarball and import module are named mox, not pymox)

qboosh qboosh at pld-linux.org
Sun Oct 19 21:59:28 CEST 2014


commit 3083ebe1a8a1393171164338336f171384366e4c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 19 22:00:10 2014 +0200

    - see python-mox.spec (both tarball and import module are named mox, not pymox)

 python-pymox.spec | 48 ------------------------------------------------
 1 file changed, 48 deletions(-)
---
diff --git a/python-pymox.spec b/python-pymox.spec
deleted file mode 100644
index 56c721c..0000000
--- a/python-pymox.spec
+++ /dev/null
@@ -1,48 +0,0 @@
-# TODO: rename to python-mox to conform to pld python package naming policy (python-MODULE_NAME)
-%define 	module	pymox
-Summary:	Mox is a mock object framework for Python
-Name:		python-%{module}
-Version:	0.5.3
-Release:	2
-License:	Apache
-Group:		Libraries/Python
-Source0:	http://pymox.googlecode.com/files/mox-%{version}.tar.gz
-# Source0-md5:	2c43da56ed1bbbbf7805e81c76a924cc
-URL:		https://code.google.com/p/pymox/
-BuildRequires:	python-modules
-BuildRequires:	rpm-pythonprov
-Requires:	python-modules
-BuildArch:	noarch
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Mox is based on EasyMock, a Java mock object framework.
-
-Mox will make mock objects for you, so you don't have to create your
-own! It mocks the public/protected interfaces of Python objects. You
-set up your mock objects expected behavior using a domain specific
-language (DSL), which makes it easy to use, understand, and refactor!
-
-%prep
-%setup -q -n mox-%{version}
-
-%build
-%{__python} setup.py build
-
-%install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
-
-%py_postclean
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc README
-%{py_sitescriptdir}/*.py[co]
-%{py_sitescriptdir}/*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pymox.git/commitdiff/3083ebe1a8a1393171164338336f171384366e4c



More information about the pld-cvs-commit mailing list