From: "Ben de Groot" <yngwin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: app-editors/vim-qt/
Date: Fri, 1 Feb 2013 19:15:29 +0000 (UTC) [thread overview]
Message-ID: <1359746116.4f603f823235dfe6a76bacf062597b447c5fa35a.yngwin@gentoo> (raw)
commit: 4f603f823235dfe6a76bacf062597b447c5fa35a
Author: Ben de Groot <yngwin <AT> gmail <DOT> com>
AuthorDate: Fri Feb 1 19:15:16 2013 +0000
Commit: Ben de Groot <yngwin <AT> gentoo <DOT> org>
CommitDate: Fri Feb 1 19:15:16 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=4f603f82
app-editors/vim-qt: update live ebuild, preparing for upstream tagged version ebuild
---
app-editors/vim-qt/metadata.xml | 7 +----
app-editors/vim-qt/vim-qt-9999.ebuild | 50 +++++++++++++++++++++++----------
2 files changed, 36 insertions(+), 21 deletions(-)
diff --git a/app-editors/vim-qt/metadata.xml b/app-editors/vim-qt/metadata.xml
index be850cb..3cbebd8 100644
--- a/app-editors/vim-qt/metadata.xml
+++ b/app-editors/vim-qt/metadata.xml
@@ -1,10 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>qt</herd>
- <maintainer>
- <email>ThyArmageddon+Gentoo@Gmail.com</email>
- <name>Elijah El Lazkani</name>
- </maintainer>
- <longdescription lang="en">The well known vim editor with a Qt based front-end interface</longdescription>
+ <herd>qt</herd>
</pkgmetadata>
diff --git a/app-editors/vim-qt/vim-qt-9999.ebuild b/app-editors/vim-qt/vim-qt-9999.ebuild
index 1534986..6b08006 100644
--- a/app-editors/vim-qt/vim-qt-9999.ebuild
+++ b/app-editors/vim-qt/vim-qt-9999.ebuild
@@ -3,23 +3,31 @@
# $Header: $
EAPI=5
-
-inherit eutils toolchain-funcs flag-o-matic git-2
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+PYTHON_REQ_USE="threads"
+inherit eutils fdo-mime python-any-r1
DESCRIPTION="Qt GUI version of the Vim text editor"
-HOMEPAGE="https://bitbucket.org/equalsraf/vim-qt/wii/Home"
-EGIT_REPO_URI="https://bitbucket.org/equalsraf/${PN}.git
- git://github.com/equalsraf/${PN}.git
- git://gitorious.org/${PN}/${PN}.git"
+HOMEPAGE="https://bitbucket.org/equalsraf/vim-qt/wiki/Home"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-2
+ EGIT_REPO_URI="https://bitbucket.org/equalsraf/${PN}.git
+ git://github.com/equalsraf/${PN}.git
+ git://gitorious.org/${PN}/${PN}.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/equalsraf/${PN}/archive/package-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${PN}-package-${PV}"
+fi
LICENSE="vim"
SLOT="0"
-KEYWORDS=""
IUSE="acl cscope debug gpm nls perl python ruby"
-RDEPEND="
- app-admin/eselect-vi
- >=app-editors/vim-core-7.3.487
+RDEPEND="app-admin/eselect-vi
+ >=app-editors/vim-core-7.3.762[acl?]
sys-libs/ncurses
>=x11-libs/qt-core-4.7.0:4
>=x11-libs/qt-gui-4.7.0:4
@@ -28,9 +36,14 @@ RDEPEND="
gpm? ( sys-libs/gpm )
nls? ( virtual/libintl )
perl? ( dev-lang/perl )
- ruby? ( dev-lang/ruby:1.8 )"
-DEPEND="${RDEPEND}
- sys-devel/autoconf"
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ export LC_COLLATE="C" # prevent locale brokenness bug #82186
+ use python && python-any-r1_pkg_setup
+}
src_configure() {
use debug && append-flags "-DDEBUG"
@@ -45,8 +58,7 @@ src_configure() {
myconf+=" --enable-gui=qt --with-vim-name=qvim --with-x"
if ! use cscope ; then
- sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || \
- die "couldn't disable cscope"
+ sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || die 'sed failed'
fi
econf ${myconf}
}
@@ -56,3 +68,11 @@ src_install() {
doicon -s 64 src/qt/icons/vim-qt.png
make_desktop_entry qvim Vim-qt vim-qt "Qt;TextEditor;Development;"
}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+}
next reply other threads:[~2013-02-01 19:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 19:15 Ben de Groot [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-10-28 19:22 [gentoo-commits] proj/qt:master commit in: app-editors/vim-qt/ Michael Palimaka
2016-02-09 17:47 Davide Pesavento
2015-09-27 19:02 Michael Palimaka
2015-04-17 23:25 Davide Pesavento
2015-01-04 11:24 Ben de Groot
2014-11-24 12:54 Ben de Groot
2014-11-20 3:19 Davide Pesavento
2014-11-16 1:12 Ben de Groot
2014-10-25 17:15 Davide Pesavento
2014-10-25 2:24 Ben de Groot
2014-10-19 22:30 Davide Pesavento
2014-06-10 7:58 Michael Palimaka
2013-08-08 10:53 Michael Palimaka
2013-07-14 11:08 Ben de Groot
2013-07-14 10:32 Ben de Groot
2013-02-01 19:42 Ben de Groot
2013-02-01 16:37 Ben de Groot
2012-07-04 11:43 Johannes Huber
2012-07-04 11:42 Johannes Huber
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=1359746116.4f603f823235dfe6a76bacf062597b447c5fa35a.yngwin@gentoo \
--to=yngwin@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