From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-python/mimeparse/Manifest | 1 + dev-python/mimeparse/metadata.xml | 13 ++++++++ dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild | 41 ++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 dev-python/mimeparse/Manifest create mode 100644 dev-python/mimeparse/metadata.xml create mode 100644 dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild (limited to 'dev-python/mimeparse') diff --git a/dev-python/mimeparse/Manifest b/dev-python/mimeparse/Manifest new file mode 100644 index 000000000000..70a660056337 --- /dev/null +++ b/dev-python/mimeparse/Manifest @@ -0,0 +1 @@ +DIST python-mimeparse-0.1.4.tar.gz 5228 SHA256 3c69a21e37e77f754e6fc09ebda70acd92c90d8a58f29a41cc0248351378ddc3 SHA512 c8eeb298773a0eb36512b1d9a46dfc85423c0dab10b85ed94284bf1bf8dba8c34aeccefd8b6a187434789d5a160ab5d4af81659dd1808ea02078cc2b168e10b3 WHIRLPOOL f83328743b16ae46263e05055d6400617b7858e11837ce892919e26a36348650122b78ee366125a1793b20fa71c641b3606bf834d2936f98dab65b89b740385b diff --git a/dev-python/mimeparse/metadata.xml b/dev-python/mimeparse/metadata.xml new file mode 100644 index 000000000000..1a36be27c13e --- /dev/null +++ b/dev-python/mimeparse/metadata.xml @@ -0,0 +1,13 @@ + + + + python + + idella4@gentoo.org + Ian Delaney + + + python-mimeparse + dbtsai/python-mimeparse + + diff --git a/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild new file mode 100644 index 000000000000..50425c193127 --- /dev/null +++ b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Basic functions for handling mime-types in python" +HOMEPAGE="http://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 ~mips ppc ppc64 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 + 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 +} -- cgit v1.2.3-65-gdbad