public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-py] pr7: remove platform-python subpackage
Date: Sat, 01 Aug 2026 11:43:26 GMT [thread overview]
Message-ID: <178558460612.1.11782600150030932043.rpms-python-py-65033a8aa7f0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-py
Branch : pr7
Commit : 65033a8aa7f0f6b1b827078291cf93248c7917d7
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2017-11-03T23:30:06+01:00
Stats : +5/-62 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-py/c/65033a8aa7f0f6b1b827078291cf93248c7917d7?branch=pr7
Log:
remove platform-python subpackage
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/python-py.spec b/python-py.spec
index a07d9f2..493e932 100644
--- a/python-py.spec
+++ b/python-py.spec
@@ -10,7 +10,6 @@
%bcond_without python2
%bcond_without python3
-%bcond_without platform_python
%global pytest_version_lb 2.9.0
%global pytest_version_ub 2.10
@@ -19,7 +18,7 @@
Name: python-%{srcname}
Version: 1.4.34
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT and Public Domain
# main package: MIT, except: doc/style.css: Public Domain
@@ -43,12 +42,6 @@ BuildRequires: python3-sphinx
%endif # with_docs
%endif
-%if %{with platform_python}
-BuildRequires: platform-python-devel
-BuildRequires: platform-python-setuptools
-%endif
-
-
%if %{with tests}
%if %{with python2}
BuildRequires: python2-pytest >= %{pytest_version_lb}, python2-pytest < %{pytest_version_ub}
@@ -56,9 +49,6 @@ BuildRequires: python2-pytest >= %{pytest_version_lb}, python2-pytest < %{pytes
%if %{with python3}
BuildRequires: python3-pytest >= %{pytest_version_lb}, python3-pytest < %{pytest_version_ub}
%endif
-%if %{with platform_python}
-BuildRequires: platform-python-pytest >= %{pytest_version_lb}, platform-python-pytest < %{pytest_version_ub}
-%endif
%endif # with tests
# needed by the testsuite
BuildRequires: subversion
@@ -99,6 +89,7 @@ Summary: Library with cross-python path, ini-parsing, io, code, log facil
Requires: python3-setuptools
%{?python_provide:%python_provide python3-%{srcname}}
Provides: bundled(python3-apipkg) = 1.3.dev
+Obsoletes: platform-python-%{srcname} < 1.4.34-6
%description -n python3-%{srcname}
The py lib is a Python development support library featuring the
@@ -112,25 +103,6 @@ following tools and modules:
%endif
-%if %{with platform_python}
-%package -n platform-python-%{srcname}
-Summary: Library with cross-python path, ini-parsing, io, code, log facilities
-Requires: platform-python-setuptools
-Provides: bundled(python3-apipkg) = 1.3.dev
-
-%description -n platform-python-%{srcname}
-The py lib is a Python development support library featuring the
-following tools and modules:
-
- * py.path: uniform local and svn path objects
- * py.apipkg: explicit API control and lazy-importing
- * py.iniconfig: easy parsing of .ini files
- * py.code: dynamic code generation and introspection
- * py.path: uniform local and svn path objects
-
-%endif
-
-
%prep
%setup -qc -n %{srcname}-%{version}
pushd %{srcname}-%{version}
@@ -142,7 +114,6 @@ find -type f -a \( -name '*.py' -o -name 'py.*' \) \
popd
mv %{srcname}-%{version} python2
cp -a python2 python3
-cp -a python2 platform_python
%build
@@ -167,13 +138,6 @@ make -C doc html PYTHONPATH=$(pwd) SPHINXBUILD=sphinx-build-3
popd
%endif
-%if %{with platform_python}
-pushd platform_python
-%platform_py_build
-popd
-%endif
-
-
%install
%if %{with python2}
pushd python2
@@ -191,13 +155,6 @@ rm -rf doc/_build/html/.buildinfo
popd
%endif
-%if %{with platform_python}
-pushd python3
-%platform_py_install
-popd
-%endif
-
-
%check
%if %{with tests}
@@ -218,17 +175,8 @@ py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing
popd
%endif
-%if %{with platform_python}
-pushd platform_python
-PYTHONPATH=%{buildroot}%{platform_python_sitelib} \
-LC_ALL="en_US.UTF-8" \
-%{__platform_python} -m py.test -r s -k"-TestWCSvnCommandPath" testing
-popd
-%endif
-
%endif # with tests
-
%if %{with python2}
%files -n python2-%{srcname}
%doc python2/CHANGELOG
@@ -251,15 +199,10 @@ popd
%{python3_sitelib}/*
%endif
-%if %{with platform_python}
-%files -n platform-python-%{srcname}
-%doc platform_python/CHANGELOG
-%doc platform_python/README.rst
-%license platform_python/LICENSE
-%{platform_python_sitelib}/*
-%endif
-
%changelog
+* Fri Nov 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.4.34-6
+- Remove platform-python subpackage
+
* Tue Sep 05 2017 Troy Dawson <tdawson@redhat.com> - 1.4.34-5
- Cleanup spec file conditionals
reply other threads:[~2026-08-01 11:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178558460612.1.11782600150030932043.rpms-python-py-65033a8aa7f0@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox