Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup and migration towards pip of existing python tools
- Loading branch information
1 parent
0e2ddea
commit a306037
Showing
21 changed files
with
26 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
### RPM external py2-nose 1.3.7 | ||
## INITENV +PATH PYTHONPATH %{i}/$PYTHON_LIB_SITE_PACKAGES | ||
%define my_name %(echo %n | cut -f2 -d-) | ||
Source: https://pypi.python.org/packages/58/a5/0dc93c3ec33f4e281849523a5a913fa1eea9a3068acfa754d44d88107a44/nose-%{realversion}.tar.gz | ||
Requires: python | ||
BuildRequires: py2-setuptools | ||
|
||
%prep | ||
%setup -n %{my_name}-%{realversion} | ||
|
||
%build | ||
python setup.py build | ||
%define pip_name nose | ||
|
||
%install | ||
python setup.py install --single-version-externally-managed --record=/dev/null --skip-build --prefix=%{i} | ||
perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/nosetests-2.7 %{i}/bin/nosetests | ||
|
||
## IMPORT build-with-pip | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
### RPM external py2-pkgconfig 1.1.0 | ||
### RPM external py2-pkgconfig 1.2.2 | ||
## INITENV +PATH PYTHONPATH %{i}/$PYTHON_LIB_SITE_PACKAGES | ||
|
||
Source: https://pypi.python.org/packages/87/35/4af9634270c00e3411cf951b7e0ea796c262922357cfc7609a86d31f072b/pkgconfig-1.1.0.tar.gz | ||
BuildRequires: py2-setuptools | ||
Requires: python py2-nose | ||
|
||
%prep | ||
%setup -n pkgconfig-%{realversion} | ||
%define pip_name pkgconfig | ||
Requires: py2-nose | ||
|
||
%build | ||
python setup.py build | ||
|
||
%install | ||
python setup.py install --single-version-externally-managed --record=/dev/null --skip-build --prefix=%{i} | ||
## IMPORT build-with-pip | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
### RPM external py2-pysqlite 2.8.1 | ||
## INITENV +PATH PYTHONPATH %i/$PYTHON_LIB_SITE_PACKAGES | ||
Source: https://pypi.python.org/packages/source/p/pysqlite/pysqlite-%realversion.tar.gz | ||
Requires: python sqlite py2-setuptools | ||
|
||
%prep | ||
%setup -n pysqlite-%realversion | ||
%build | ||
echo "include_dirs=$SQLITE_ROOT/include" >> setup.cfg | ||
python setup.py build | ||
%install | ||
python setup.py install --prefix=%i | ||
### RPM external py2-pysqlite 2.8.3 | ||
## INITENV +PATH PYTHONPATH %{i}/$PYTHON_LIB_SITE_PACKAGES | ||
|
||
|
||
%define pip_name pysqlite | ||
Requires: sqlite py2-setuptools | ||
%define PipPreBuild tar xfz pysqlite-%{realversion}.tar.gz;rm pysqlite-%{realversion}.tar.gz;echo "include_dirs=$SQLITE_ROOT/include">>pysqlite-%{realversion}/setup.cfg;tar cfz pysqlite-%{realversion}.tar.gz pysqlite-%{realversion} | ||
#echo "include_dirs=$SQLITE_ROOT/include"\>\>pysqlite-2.8.3/setup.cfg; | ||
|
||
## IMPORT build-with-pip | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.