public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-markups] f45: Subpackage python2-markups has been removed
Date: Thu, 22 Oct 2026 17:37:27 GMT	[thread overview]
Message-ID: <179269064704.1.3926361515720444774.rpms-python-markups-903c3b2ef1db@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-markups
Branch : f45
Commit : 903c3b2ef1db5c7b9cab362f9e885c9112156fcf
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date   : 2018-10-18T10:56:50+02:00
Stats  : +8/-64 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-markups/c/903c3b2ef1db5c7b9cab362f9e885c9112156fcf?branch=f45

Log:
Subpackage python2-markups has been removed

---
diff --git a/python-markups.spec b/python-markups.spec
index c91b29a..c8a06f4 100644
--- a/python-markups.spec
+++ b/python-markups.spec
@@ -1,30 +1,16 @@
-%if 0%{?fedora} > 12
-%global with_python3 1
-%else
-%{!?__python2: %global __python2 /usr/bin/python2}
-%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
-%endif
-
 Name:           python-markups
 Version:        2.0.0
-Release:        10%{?dist}
+Release:        11%{?dist}
 License:        BSD
 Summary:        A wrapper around various text markups
 URL:            https://pypi.python.org/pypi/Markups
 Source0:        http://pypi.python.org/packages/source/M/Markups/Markups-%{version}.tar.gz
 
-BuildRequires:  python2-devel
-BuildRequires:  python2-docutils
-BuildRequires:  python2-markdown
-BuildRequires:  python2-setuptools
-BuildRequires:  python2-textile
-%if 0%{?with_python3}
 BuildRequires:  python3-devel
 BuildRequires:  python3-docutils
 BuildRequires:  python3-markdown
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-textile
-%endif # if with_python3
 
 BuildArch:      noarch
 
@@ -35,16 +21,6 @@ by default).
 
 %description %_description
 
-%package -n python2-markups
-Summary: %summary
-Requires:       python2-docutils
-Requires:       python2-markdown
-Requires:       python2-textile
-%{?python_provide:%python_provide python2-markups}
-
-%description -n python2-markups %_description
-
-%if 0%{?with_python3}
 %package -n python3-markups
 Summary:        A wrapper around various text markups
 
@@ -57,7 +33,6 @@ This module provides a Python 3 wrapper around the various text markup
 languages, such as Markdown and reStructuredText (these two are supported
 by default).
 
-%endif # with_python3
 
 %prep
 %setup -q -n Markups-%{version}
@@ -65,56 +40,25 @@ by default).
 # The source tarball contains a bundled egg-info.
 rm -rf Markups.egg-info
 
-%if 0%{?with_python3}
-rm -rf %{py3dir}
-cp -a . %{py3dir}
-%endif # with_python3
-
 %build
-%{__python2} setup.py build
-
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py build
-popd
-%endif # with_python3
+%py3_build
 
 %install
-
-# Must do the python3 install first because the scripts in /usr/bin
-# (if any) are overwritten with every setup.py install (and we want
-# the python2 version to be the default for now).
-%if 0%{?with_python3}
-pushd %{py3dir}
-%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
-popd
-%endif # with_python3
-
-%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%py3_install
 
 %check
-#%%{__python2} setup.py test
+%{__python3} setup.py test -v
 
-#%%if 0%%{?with_python3}
-#pushd %%{py3dir}
-#%%{__python3} setup.py test
-#popd
-#%%endif # with_python3
-
-
-%files -n python2-markups
-%doc changelog README.rst
-%license LICENSE
-%{python2_sitelib}/*
-
-%if 0%{?with_python3}
 %files -n python3-markups
 %doc changelog README.rst
 %license LICENSE
 %{python3_sitelib}/* 
-%endif # with_python3
 
 %changelog
+* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-11
+- Subpackage python2-markups has been removed
+  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
 

                 reply	other threads:[~2026-10-22 17:37 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=179269064704.1.3926361515720444774.rpms-python-markups-903c3b2ef1db@fedoraproject.org \
    --to=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