public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-markups] f44: Initial srpm import
Date: Thu, 22 Oct 2026 17:37:43 GMT	[thread overview]
Message-ID: <179269066348.1.12333405351071141706.rpms-python-markups-3a8b5e53a3a1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-markups
Branch : f44
Commit : 3a8b5e53a3a1098c0e576d1f75c10e0a37381883
Author : Mario Blättermann <mario.blaettermann@gmail.com>
Date   : 2015-01-02T10:54:03+01:00
Stats  : +126/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-markups/c/3a8b5e53a3a1098c0e576d1f75c10e0a37381883?branch=f44

Log:
Initial srpm import

---
diff --git a/.gitignore b/.gitignore
index e69de29..25bcfbc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Markups-0.5.2.tar.gz

diff --git a/python-markups.spec b/python-markups.spec
new file mode 100644
index 0000000..5f61988
--- /dev/null
+++ b/python-markups.spec
@@ -0,0 +1,124 @@
+%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:        0.5.2
+Release:        4%{?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:  python-docutils
+BuildRequires:  python-markdown
+BuildRequires:  python-setuptools
+BuildRequires:  python-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
+
+%description
+This module provides a Python 2 wrapper around the various text markup
+languages, such as Markdown and reStructuredText (these two are supported
+by default).
+
+%if 0%{?with_python3}
+%package -n python3-markups
+Summary:        A wrapper around various text markups
+
+%description -n python3-markups
+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}
+
+# 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
+
+%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
+
+%check
+%{__python2} setup.py test
+
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py test
+popd
+%endif # with_python3
+
+
+%files
+%doc changelog README
+%license LICENSE
+%{python2_sitelib}/*
+
+%if 0%{?with_python3}
+%files -n python3-markups
+%doc changelog README
+%license LICENSE
+%{python3_sitelib}/* 
+%endif # with_python3
+
+%changelog
+* Wed Dec 31 2014 Mario Blättermann <mario.blaettermann@gmail.com> - 0.5.2-4
+- Fix the disttag
+- Remove LICENSE from %%doc in the python3 package
+
+* Tue Dec 30 2014 Mario Blättermann <mario.blaettermann@gmail.com> - 0.5.2-3
+- Use the %%license macro
+
+* Sat Dec 06 2014 Mario Blättermann <mario.blaettermann@gmail.com> - 0.5.2-2
+- Some cleanup due to rpmlint warnings
+
+* Sun Nov 30 2014 Mario Blättermann <mario.blaettermann@gmail.com> - 0.5.2-1
+- New upstream version
+- Enable both Python 2 and 3
+
+* Sun May 05 2013 Huaren Zhong <huaren.zhong@gmail.com> - 0.2.4
+- Rebuild for Fedora
+
+* Wed Feb  6 2013 saschpe@suse.de
+- Completely redone spec file
+
+* Sat Feb  2 2013 i@marguerite.su
+- initial version 0.2.4

diff --git a/sources b/sources
index e69de29..8b39dea 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2028c326769b142b5f0b1745a96c3596  Markups-0.5.2.tar.gz

                 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=179269066348.1.12333405351071141706.rpms-python-markups-3a8b5e53a3a1@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