summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-06-26 17:46:04 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-06-26 17:46:04 +0000
commit0f1d37a714a5fddf4f4d43c1fdb6f4bb03b8860e (patch)
tree4460110f53e5043aed5ce4ef973b93d12c70f119 /app-text/lodgeit
parentStable for amd64, wrt bug #423239 (diff)
downloadgentoo-2-0f1d37a714a5fddf4f4d43c1fdb6f4bb03b8860e.tar.gz
gentoo-2-0f1d37a714a5fddf4f4d43c1fdb6f4bb03b8860e.tar.bz2
gentoo-2-0f1d37a714a5fddf4f4d43c1fdb6f4bb03b8860e.zip
Add new snapshot, set http://bpaste.net as default service
(Portage version: 2.1.11.2/cvs/Linux x86_64)
Diffstat (limited to 'app-text/lodgeit')
-rw-r--r--app-text/lodgeit/ChangeLog9
-rw-r--r--app-text/lodgeit/files/lodgeitrc2
-rw-r--r--app-text/lodgeit/lodgeit-0.3.ebuild37
-rw-r--r--app-text/lodgeit/lodgeit-0.3_p20120614.ebuild53
4 files changed, 62 insertions, 39 deletions
diff --git a/app-text/lodgeit/ChangeLog b/app-text/lodgeit/ChangeLog
index 3b4da37c8490..2ed73714d8de 100644
--- a/app-text/lodgeit/ChangeLog
+++ b/app-text/lodgeit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/lodgeit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/ChangeLog,v 1.6 2012/05/21 12:30:04 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/ChangeLog,v 1.7 2012/06/26 17:46:04 maksbotan Exp $
+
+*lodgeit-0.3_p20120614 (26 Jun 2012)
+
+ 26 Jun 2012; Maxim Koltsov <maksbotan@gentoo.org> +files/lodgeitrc,
+ +lodgeit-0.3_p20120614.ebuild, -lodgeit-0.3.ebuild:
+ Add new snapshot, set http://bpaste.net as default service
21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
lodgeit-0.3_p20120507.ebuild:
@@ -27,4 +33,3 @@
+metadata.xml:
Initial import from bug 270343. Ebuild by Dror Levin, who will be
maintainer by proxy until he becomes full dev.
-
diff --git a/app-text/lodgeit/files/lodgeitrc b/app-text/lodgeit/files/lodgeitrc
new file mode 100644
index 000000000000..9477df8abfc7
--- /dev/null
+++ b/app-text/lodgeit/files/lodgeitrc
@@ -0,0 +1,2 @@
+server_name = http://bpaste.net/
+encoding = utf-8
diff --git a/app-text/lodgeit/lodgeit-0.3.ebuild b/app-text/lodgeit/lodgeit-0.3.ebuild
deleted file mode 100644
index 79e6ee01ceb8..000000000000
--- a/app-text/lodgeit/lodgeit-0.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/lodgeit-0.3.ebuild,v 1.3 2011/04/05 05:08:05 ulm Exp $
-
-EAPI="2"
-
-DESCRIPTION="Command-line interface to paste.pocoo.org"
-HOMEPAGE="http://paste.pocoo.org/"
-SRC_URI="http://dev.pocoo.org/hg/lodgeit-main/raw-file/tip/scripts/lodgeit.py
- -> ${P}.py
- vim? ( http://www.vim.org/scripts/download_script.php?src_id=8848
- -> ${P}.vim )"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="vim"
-
-RESTRICT="test"
-
-DEPEND=""
-RDEPEND="dev-lang/python
- vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )"
-
-src_unpack() {
- :
-}
-
-src_install() {
- dobin "${DISTDIR}/${P}.py"
- dosym "/usr/bin/${P}.py" "/usr/bin/${PN}"
-
- if use vim; then
- insinto /usr/share/vim/vimfiles/plugin
- newins "${DISTDIR}/${P}.vim" "${PN}.vim"
- fi
-}
diff --git a/app-text/lodgeit/lodgeit-0.3_p20120614.ebuild b/app-text/lodgeit/lodgeit-0.3_p20120614.ebuild
new file mode 100644
index 000000000000..8bd5c0808097
--- /dev/null
+++ b/app-text/lodgeit/lodgeit-0.3_p20120614.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/lodgeit/lodgeit-0.3_p20120614.ebuild,v 1.1 2012/06/26 17:46:04 maksbotan Exp $
+
+EAPI="4"
+
+MY_REV="0f51a7cb1576"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit python
+
+DESCRIPTION="Command-line interface to paste.pocoo.org"
+HOMEPAGE="http://paste.pocoo.org/"
+SRC_URI="https://bitbucket.org/skrattaren/lodgeit-script-gentoo/raw/${MY_REV}/scripts/lodgeit.py
+ -> ${P}.py
+ vim? ( http://www.vim.org/scripts/download_script.php?src_id=8848
+ -> ${P}.vim )"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="vim"
+
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND="
+ vim? ( || ( app-editors/vim[python] app-editors/gvim[python] ) )"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ :
+}
+
+src_install() {
+ installation(){
+ newbin "${DISTDIR}/${P}.py" "${PN}-${PYTHON_ABI}"
+ python_convert_shebangs ${PYTHON_ABI} "${ED}"/usr/bin/${PN}-${PYTHON_ABI}
+ }
+ python_execute_function installation
+ python_generate_wrapper_scripts "${ED}"/usr/bin/${PN}
+
+ insinto /etc
+ doins "${FILESDIR}"/lodgeitrc
+
+ if use vim; then
+ insinto /usr/share/vim/vimfiles/plugin
+ newins "${DISTDIR}/${P}.vim" "${PN}.vim"
+ fi
+}