summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-05-10 10:18:59 +0000
committerAlin Năstac <mrness@gentoo.org>2009-05-10 10:18:59 +0000
commitda80ec89f01e336700e2a77e8249aa67cd0eba6a (patch)
tree49a6c02c9ceb94aae8694f234e3faebb5174bcc3 /app-mobilephone/wammu
parentAdd upstream fix for sparc bug #260995 (diff)
downloadgentoo-2-da80ec89f01e336700e2a77e8249aa67cd0eba6a.tar.gz
gentoo-2-da80ec89f01e336700e2a77e8249aa67cd0eba6a.tar.bz2
gentoo-2-da80ec89f01e336700e2a77e8249aa67cd0eba6a.zip
Version bump (#260303). Migrate to EAPI 2.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'app-mobilephone/wammu')
-rw-r--r--app-mobilephone/wammu/ChangeLog8
-rw-r--r--app-mobilephone/wammu/wammu-0.27.ebuild86
-rw-r--r--app-mobilephone/wammu/wammu-0.30.1.ebuild (renamed from app-mobilephone/wammu/wammu-0.28.ebuild)22
3 files changed, 17 insertions, 99 deletions
diff --git a/app-mobilephone/wammu/ChangeLog b/app-mobilephone/wammu/ChangeLog
index df6adf1bf1fa..2effd4cf6e55 100644
--- a/app-mobilephone/wammu/ChangeLog
+++ b/app-mobilephone/wammu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-mobilephone/wammu
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.37 2009/03/08 16:17:02 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/ChangeLog,v 1.38 2009/05/10 10:18:59 mrness Exp $
+
+*wammu-0.30.1 (10 May 2009)
+
+ 10 May 2009; Alin Năstac <mrness@gentoo.org> -wammu-0.27.ebuild,
+ -wammu-0.28.ebuild, +wammu-0.30.1.ebuild:
+ Version bump (#260303). Migrate to EAPI 2.
08 Mar 2009; Markus Meier <maekke@gentoo.org> wammu-0.29.ebuild:
amd64/x86 stable, bug #259521
diff --git a/app-mobilephone/wammu/wammu-0.27.ebuild b/app-mobilephone/wammu/wammu-0.27.ebuild
deleted file mode 100644
index a0585b26fb9f..000000000000
--- a/app-mobilephone/wammu/wammu-0.27.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.27.ebuild,v 1.2 2008/11/05 19:57:09 maekke Exp $
-
-inherit distutils eutils versionator
-
-DESCRIPTION="front-end for gammu (Nokia and other mobiles)"
-HOMEPAGE="http://www.cihar.com/gammu/wammu/"
-SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="bluetooth"
-
-RDEPEND="=dev-python/wxpython-2.6*
- >=dev-python/python-gammu-0.24
- bluetooth? (
- || (
- dev-python/pybluez
- net-wireless/gnome-bluetooth
- )
- )"
-DEPEND="${RDEPEND}"
-
-# Supported languages and translated documentation
-# Be sure all languages are prefixed with a single space!
-MY_AVAILABLE_LINGUAS=" af ca cs de es et fi fr gl he hu it ko nl pl pt_BR ru sk sv zh_CN zh_TW"
-IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
-
-src_unpack() {
- unpack ${A}
-
- # Select the suitable wxpython versions
- local wxpy_pkg wxpy_slot MY_WXPYTHON_SLOTS
- for wxpy_pkg in $(portageq match "${ROOT}" '=dev-python/wxpython-2.6*'); do
- if built_with_use --hidden --missing false =${wxpy_pkg} unicode ; then
- wxpy_slot=$(get_version_component_range 1-2 ${wxpy_pkg#*/*-})
- if [ -z "${MY_WXPYTHON_SLOTS}" ]; then
- MY_WXPYTHON_SLOTS="'${wxpy_slot}'"
- else
- MY_WXPYTHON_SLOTS="${MY_WXPYTHON_SLOTS}, '${wxpy_slot}'"
- fi
- fi
- done
- if [ -z "${MY_WXPYTHON_SLOTS}" ]; then
- eerror "None of the dev-python/wxpython installed versions have been built with Unicode support."
- eerror "Install wxpython with unicode USE flag enabled and try again."
- die "dev-python/wxpython is missing Unicode support"
- fi
-
- cd "${S}"
- sed -e "s/WXPYTHON_VER/${MY_WXPYTHON_SLOTS}/" \
- "${FILESDIR}"/${PN}-wxversion.patch \
- > "${T}"/${PN}-wxversion.patch
- epatch "${T}"/${PN}-wxversion.patch
-
- pushd locale || die "locale directory not found"
- local lang support_linguas=no
- for lang in ${MY_AVAILABLE_LINGUAS} ; do
- if use linguas_${lang} ; then
- support_linguas=yes
- break
- fi
- done
- # install all languages when all selected LINGUAS aren't supported
- if [ "${support_linguas}" = "yes" ]; then
- for lang in ${MY_AVAILABLE_LINGUAS} ; do
- if ! use linguas_${lang} ; then
- rm -r ${lang}
- fi
- done
- fi
- popd
-}
-
-src_compile() {
- # SKIPWXCHECK: else 'import wx' results in
- # Xlib: connection to ":0.0" refused by server
- SKIPWXCHECK=yes distutils_src_compile
-}
-
-src_install() {
- DOCS="AUTHORS FAQ NEWS"
- SKIPWXCHECK=yes distutils_src_install
-}
diff --git a/app-mobilephone/wammu/wammu-0.28.ebuild b/app-mobilephone/wammu/wammu-0.30.1.ebuild
index 8e0b64e4c50f..fe5ccf72c09c 100644
--- a/app-mobilephone/wammu/wammu-0.28.ebuild
+++ b/app-mobilephone/wammu/wammu-0.30.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.28.ebuild,v 1.1 2008/08/19 19:24:47 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.30.1.ebuild,v 1.1 2009/05/10 10:18:59 mrness Exp $
+
+EAPI="2"
inherit distutils
@@ -13,8 +15,8 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="bluetooth"
-RDEPEND=">=dev-python/wxpython-2.8
- >=dev-python/python-gammu-0.24
+RDEPEND=">=app-mobilephone/gammu-1.24.0
+ >=dev-python/wxpython-2.8
bluetooth? (
|| (
dev-python/pybluez
@@ -25,13 +27,10 @@ DEPEND="${RDEPEND}"
# Supported languages and translated documentation
# Be sure all languages are prefixed with a single space!
-MY_AVAILABLE_LINGUAS=" af ca cs de es et fi fr gl he hu it ko nl pl pt_BR ru sk sv zh_CN zh_TW"
+MY_AVAILABLE_LINGUAS=" af bg ca cs da de el es et fi fr gl he hu id it ko nl pl pt_BR ru sk sv zh_CN zh_TW"
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
-src_unpack() {
- unpack ${A}
-
- pushd "${S}"/locale || die "locale directory not found"
+src_prepare() {
local lang support_linguas=no
for lang in ${MY_AVAILABLE_LINGUAS} ; do
if use linguas_${lang} ; then
@@ -43,11 +42,10 @@ src_unpack() {
if [ "${support_linguas}" = "yes" ]; then
for lang in ${MY_AVAILABLE_LINGUAS} ; do
if ! use linguas_${lang} ; then
- rm -r ${lang}
+ rm -r locale/${lang} || die
fi
done
fi
- popd
}
src_compile() {
@@ -57,6 +55,6 @@ src_compile() {
}
src_install() {
- DOCS="AUTHORS FAQ NEWS"
+ DOCS="AUTHORS FAQ"
SKIPWXCHECK=yes distutils_src_install
}