From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mimeparse/
Date: Mon, 1 Feb 2016 15:44:27 +0000 (UTC) [thread overview]
Message-ID: <1454341460.35a2a3ea05950687bec38ae26b83df0681c676e9.jlec@gentoo> (raw)
commit: 35a2a3ea05950687bec38ae26b83df0681c676e9
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 1 15:32:26 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 1 15:44:20 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35a2a3ea
dev-python/mimeparse: Version Bump
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/mimeparse/Manifest | 1 +
dev-python/mimeparse/mimeparse-1.5.ebuild | 49 +++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/mimeparse/Manifest b/dev-python/mimeparse/Manifest
index 70a6600..451d25f 100644
--- a/dev-python/mimeparse/Manifest
+++ b/dev-python/mimeparse/Manifest
@@ -1 +1,2 @@
DIST python-mimeparse-0.1.4.tar.gz 5228 SHA256 3c69a21e37e77f754e6fc09ebda70acd92c90d8a58f29a41cc0248351378ddc3 SHA512 c8eeb298773a0eb36512b1d9a46dfc85423c0dab10b85ed94284bf1bf8dba8c34aeccefd8b6a187434789d5a160ab5d4af81659dd1808ea02078cc2b168e10b3 WHIRLPOOL f83328743b16ae46263e05055d6400617b7858e11837ce892919e26a36348650122b78ee366125a1793b20fa71c641b3606bf834d2936f98dab65b89b740385b
+DIST python-mimeparse-1.5.tar.gz 5827 SHA256 9518ff1576d60e99f310116711beda6974f18caa3deb01c73d25bab409408878 SHA512 799b40c0128f22949869bc55f618b46f022bf937cd59be21343dab3d3d977cc24d84744dcbd23da4efb135e940a1373f064ec6e56e8bd4188fa54a3107d2718f WHIRLPOOL b9c9748c24ff931c2c3a2ae4da088818f9a7018be6450783c3ac0ff533e7292b23a5e94cff976b3209003a481240a5a4af65c7d6b81753b80e200b0fc5a0c03d
diff --git a/dev-python/mimeparse/mimeparse-1.5.ebuild b/dev-python/mimeparse/mimeparse-1.5.ebuild
new file mode 100644
index 0000000..0d1ed5a
--- /dev/null
+++ b/dev-python/mimeparse/mimeparse-1.5.ebuild
@@ -0,0 +1,49 @@
+# 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
+
+MY_PN="python-${PN}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Basic functions for handling mime-types in python"
+HOMEPAGE="
+ https://code.google.com/p/mimeparse
+ https://github.com/dbtsai/python-mimeparse"
+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}"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+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'
+ ln -sf python_mimeparse-${PV}-py${pyver}.egg-info \
+ "${D%/}${PYTHON_SITEDIR}/mimeparse-${PV}-py${pyver}.egg-info" || die
+}
next reply other threads:[~2016-02-01 15:44 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 15:44 Justin Lecher [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-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
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=1454341460.35a2a3ea05950687bec38ae26b83df0681c676e9.jlec@gentoo \
--to=jlec@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