Mageia Bugzilla – Attachment 4172 Details for
Bug 10638
Build python-beautifulsoup4 for python3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
diff python-beautifulsoup4 spec file
svn diff python-beautifulsoup4 (text/plain), 2.30 KB, created by
David GEIGER
on 2013-06-27 21:02:26 CEST
(
hide
)
Description:
diff python-beautifulsoup4 spec file
Filename:
MIME Type:
Creator:
David GEIGER
Created:
2013-06-27 21:02:26 CEST
Size:
2.30 KB
patch
obsolete
>$ svn diff >Index: python-beautifulsoup4.spec >=================================================================== >--- python-beautifulsoup4.spec (révision 447608) >+++ python-beautifulsoup4.spec (copie de travail) >@@ -1,36 +1,60 @@ >-%define module beautifulsoup4 >+%define module beautifulsoup4 > >-Name: python-%module >-Version: 4.1.3 >-Release: %mkrel 1 >-Summary: The Screen-Scraper's Frien >+Name: python-%{module} >+Version: 4.1.3 >+Release: %mkrel 1.1 >+Summary: The Screen-Scraper's Friend > >-Group: Development/Python >-License: Python >-URL: http://www.crummy.com/software/BeautifulSoup/bs4/ >-Source0: http://pypi.python.org/packages/source/b/%module/%module-%version.tar.gz >+Group: Development/Python >+License: MIT >+URL: http://www.crummy.com/software/BeautifulSoup/bs4/ >+Source0: http://pypi.python.org/packages/source/b/%{module}/%{module}-%{version}.tar.gz > >-BuildRequires: python-devel >-BuildRequires: python-setuptools >+BuildRequires: python-devel >+BuildRequires: python-setuptools > >-BuildArch: noarch >+BuildArch: noarch > > %description > Beautiful Soup sits atop an HTML or XML parser, providing Pythonic > idioms for iterating, searching, and modifying the parse tree. > > %files >-%py_puresitedir/*.egg-info >-%py_puresitedir/bs4 >+%doc *.txt >+%{py_puresitedir}/%{module}-%{version}-py%{pyver}.egg-info >+%{py_puresitedir}/bs4 > > #-------------------------------------------------------------------- > >+%package -n python3-%{module} >+Summary: The Screen-Scraper's Friend >+Group: Development/Python >+ >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+ >+BuildArch: noarch >+ >+%description -n python3-%{module} >+Beautiful Soup sits atop an HTML or XML parser, providing Pythonic >+idioms for iterating, searching, and modifying the parse tree. >+ >+%files -n python3-%{module} >+%doc README.txt TODO.txt >+%{py3_puresitedir}/%{module}-%{version}-py%{py3ver}.egg-info >+%{py3_puresitedir}/bs4 >+ >+#-------------------------------------------------------------------- >+ > %prep >-%setup -q -n %module-%version >+%setup -q -n %{module}-%{version} > > %build > %{__python} setup.py build > >+%{__python3} setup.py build >+ > %install > %{__python} setup.py install --skip-build --root %{buildroot} > >+%{__python3} setup.py install --skip-build --root %{buildroot} >
$ svn diff Index: python-beautifulsoup4.spec =================================================================== --- python-beautifulsoup4.spec (révision 447608) +++ python-beautifulsoup4.spec (copie de travail) @@ -1,36 +1,60 @@ -%define module beautifulsoup4 +%define module beautifulsoup4 -Name: python-%module -Version: 4.1.3 -Release: %mkrel 1 -Summary: The Screen-Scraper's Frien +Name: python-%{module} +Version: 4.1.3 +Release: %mkrel 1.1 +Summary: The Screen-Scraper's Friend -Group: Development/Python -License: Python -URL: http://www.crummy.com/software/BeautifulSoup/bs4/ -Source0: http://pypi.python.org/packages/source/b/%module/%module-%version.tar.gz +Group: Development/Python +License: MIT +URL: http://www.crummy.com/software/BeautifulSoup/bs4/ +Source0: http://pypi.python.org/packages/source/b/%{module}/%{module}-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-devel +BuildRequires: python-setuptools -BuildArch: noarch +BuildArch: noarch %description Beautiful Soup sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree. %files -%py_puresitedir/*.egg-info -%py_puresitedir/bs4 +%doc *.txt +%{py_puresitedir}/%{module}-%{version}-py%{pyver}.egg-info +%{py_puresitedir}/bs4 #-------------------------------------------------------------------- +%package -n python3-%{module} +Summary: The Screen-Scraper's Friend +Group: Development/Python + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +BuildArch: noarch + +%description -n python3-%{module} +Beautiful Soup sits atop an HTML or XML parser, providing Pythonic +idioms for iterating, searching, and modifying the parse tree. + +%files -n python3-%{module} +%doc README.txt TODO.txt +%{py3_puresitedir}/%{module}-%{version}-py%{py3ver}.egg-info +%{py3_puresitedir}/bs4 + +#-------------------------------------------------------------------- + %prep -%setup -q -n %module-%version +%setup -q -n %{module}-%{version} %build %{__python} setup.py build +%{__python3} setup.py build + %install %{__python} setup.py install --skip-build --root %{buildroot} +%{__python3} setup.py install --skip-build --root %{buildroot}
View Attachment As Raw
Actions:
View
Attachments on
bug 10638
: 4172