From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mimeparse/
Date: Wed, 12 Oct 2016 07:38:23 +0000 (UTC) [thread overview]
Message-ID: <1476257822.723d43dbc68ebd3d8254e3da72e7b80b4abfd813.soap@gentoo> (raw)
commit: 723d43dbc68ebd3d8254e3da72e7b80b4abfd813
Author: Mathy Vanvoorden <mathy <AT> vanvoorden <DOT> be>
AuthorDate: Tue Oct 11 18:45:48 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 07:37:02 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=723d43db
dev-python/mimeparse: version bump to 0.1.4-r2
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2538
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-python/mimeparse/mimeparse-0.1.4-r2.ebuild | 45 ++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/dev-python/mimeparse/mimeparse-0.1.4-r2.ebuild b/dev-python/mimeparse/mimeparse-0.1.4-r2.ebuild
new file mode 100644
index 00000000..bdd4916
--- /dev/null
+++ b/dev-python/mimeparse/mimeparse-0.1.4-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Basic functions for handling mime-types in python"
+HOMEPAGE="
+ https://code.google.com/p/mimeparse
+ https://github.com/dbtsai/python-mimeparse"
+MY_PN="python-${PN}"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ "${PYTHON}" mimeparse_test.py || die "Tests fail with ${EPYTHON}"
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ if [[ ${EPYTHON} == pypy ]]; then
+ local pyver=2.7
+ elif [[ ${EPYTHON} == pypy3 ]]; then
+ local pyver=3.2
+ else
+ local pyver=${EPYTHON#python}
+ fi
+ python_export PYTHON_SITEDIR
+
+ # Previous versions were just called 'mimeparse'
+ cp "${D%/}${PYTHON_SITEDIR}/python_mimeparse-${PV}-py${pyver}.egg-info" \
+ "${D%/}${PYTHON_SITEDIR}/mimeparse-${PV}-py${pyver}.egg-info" || die
+}
next reply other threads:[~2016-10-12 7:38 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 7:38 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-31 13:19 [gentoo-commits] repo/gentoo:master commit in: dev-python/mimeparse/ Michał Górny
2020-05-31 13:19 Michał Górny
2020-05-31 13:19 Michał Górny
2020-03-27 21:25 Michał Górny
2019-12-03 5:06 Andreas Sturmlechner
2018-08-17 1:38 Mikle Kolyada
2018-04-20 18:39 Mart Raudsepp
2018-02-05 21:54 Michał Górny
2018-01-29 8:22 Tobias Klausmann
2018-01-23 19:07 Markus Meier
2017-12-28 20:34 Sergei Trofimovich
2017-12-25 15:52 Sergei Trofimovich
2017-12-24 13:38 Sergei Trofimovich
2017-12-24 9:59 Sergei Trofimovich
2017-12-18 16:51 Jason Zaman
2017-06-26 11:43 Alexis Ballier
2017-05-03 7:37 Michał Górny
2016-10-24 11:30 Lars Wendler
2016-10-12 7:38 David Seifert
2016-10-12 7:38 David Seifert
2016-10-12 7:38 David Seifert
2016-10-12 7:38 David Seifert
2016-06-12 18:57 Patrick Lauer
2016-05-29 14:19 Pacho Ramos
2016-02-04 12:25 Justin Lecher
2016-02-01 15:44 Justin Lecher
2015-10-14 13:40 Justin Lecher
2015-08-24 10:12 Justin Lecher
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=1476257822.723d43dbc68ebd3d8254e3da72e7b80b4abfd813.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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