public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mimeparse/
Date: Sun, 12 Jun 2016 18:57:52 +0000 (UTC)	[thread overview]
Message-ID: <1465757842.991ba8ca2cc1f1da96fd07a801c0c7821a07eafd.patrick@gentoo> (raw)

commit:     991ba8ca2cc1f1da96fd07a801c0c7821a07eafd
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 18:57:22 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 18:57:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=991ba8ca

dev-python/mimeparse: Bump

Package-Manager: portage-2.3.0_rc1

 dev-python/mimeparse/Manifest               |  1 +
 dev-python/mimeparse/mimeparse-1.5.2.ebuild | 49 +++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/mimeparse/Manifest b/dev-python/mimeparse/Manifest
index 830b451..f17d1f2 100644
--- a/dev-python/mimeparse/Manifest
+++ b/dev-python/mimeparse/Manifest
@@ -1,2 +1,3 @@
 DIST python-mimeparse-0.1.4.tar.gz 5228 SHA256 3c69a21e37e77f754e6fc09ebda70acd92c90d8a58f29a41cc0248351378ddc3 SHA512 c8eeb298773a0eb36512b1d9a46dfc85423c0dab10b85ed94284bf1bf8dba8c34aeccefd8b6a187434789d5a160ab5d4af81659dd1808ea02078cc2b168e10b3 WHIRLPOOL f83328743b16ae46263e05055d6400617b7858e11837ce892919e26a36348650122b78ee366125a1793b20fa71c641b3606bf834d2936f98dab65b89b740385b
 DIST python-mimeparse-1.5.1.tar.gz 5822 SHA256 e4d0c49120f5d946106ed3a6fed0b353740c0c9700b57d7d024c65466e50a106 SHA512 bd25dd43ba98ac8e10e02d21ae040be76b0a2ae3904333c6bbf8d46e4f12bda84eb410059b22a345b6840af2c055802b31c3f76c46f133c1c11673a4f15f21f7 WHIRLPOOL a31cd0a78ba86a16d335ece4a226981dce813399e0695ce577d6fa8f327e6cf88c5723f69600f5852cde2d1a66ccb49aac1b8ada3854e1fe8f33a073a8ebb27c
+DIST python-mimeparse-1.5.2.tar.gz 5870 SHA256 bef134a59598cc6aa598f84553162aa7a0c01f3f431588225bb9a208964b1827 SHA512 e11c28d627da4a12075ebc427813476ef32585cfeeb323c852e80f1fb8e987324ffab8a314e5249fe689460a457189d6cd252241b81a1d2d8216256d4976df14 WHIRLPOOL 9f1e290f37ab4e4cf0785c2188882bee7f660f533718b6c19867f12f0213f3a59a783559e98d86955f587c9e6d9b15de5b93cf3d1712e65c7b8e0248463d2ffa

diff --git a/dev-python/mimeparse/mimeparse-1.5.2.ebuild b/dev-python/mimeparse/mimeparse-1.5.2.ebuild
new file mode 100644
index 0000000..0d1ed5a
--- /dev/null
+++ b/dev-python/mimeparse/mimeparse-1.5.2.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
+}


             reply	other threads:[~2016-06-12 18:58 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 18:57 Patrick Lauer [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-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=1465757842.991ba8ca2cc1f1da96fd07a801c0c7821a07eafd.patrick@gentoo \
    --to=patrick@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