summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/lodgeit
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
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 <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/lodgeit')
-rw-r--r--app-text/lodgeit/Manifest4
-rw-r--r--app-text/lodgeit/files/lodgeitrc2
-rw-r--r--app-text/lodgeit/lodgeit-0.3_p20120507.ebuild50
-rw-r--r--app-text/lodgeit/lodgeit-0.3_p20120618-r1.ebuild57
-rw-r--r--app-text/lodgeit/metadata.xml12
5 files changed, 125 insertions, 0 deletions
diff --git a/app-text/lodgeit/Manifest b/app-text/lodgeit/Manifest
new file mode 100644
index 000000000000..cf7c54ae8285
--- /dev/null
+++ b/app-text/lodgeit/Manifest
@@ -0,0 +1,4 @@
+DIST lodgeit-0.3_p20120507.py 12785 SHA256 87dfd329e7d1fdf1902c6d1903a0b629b63749b69932235ed4d70c2e836400ab SHA512 a6300a4d11626cde612f1b88f137587241940f2ef3b08ea2745e85cd2423161fd882adc04ce64aa9adbffd883cb2fe30793791a0f36a2e8d69cb757075ef6873 WHIRLPOOL add0cb101cd47ab4165c593fab6ab51d6303f307481b29ee3c2212a9a93b78ac35bd93aa0cb5e4ee1458986d464f22021eb521ec1eaa69edae68851f8ceb5369
+DIST lodgeit-0.3_p20120507.vim 3882 SHA256 b8c1e918a7d6e7c5675ccd05893ad7bf3dae19493248e85735fded16903b06bc SHA512 d8a627fa2430680b78de9d0412c05955fd3294b56590e0e3448d75d9b3f8f5c8921187fee6de5eaf7f9b8e93080042eb3719e2f690c601508ea08878616f301d WHIRLPOOL f6d399c76f7873978d63e2a2f0720bde672d495e45f1fbec02c4125e6e5ae1a3ffa1effcda9e9b8402928c5134456a48a5f53a09f7ffb2667cf4933bbc0c9aee
+DIST lodgeit-0.3_p20120618.py 13010 SHA256 6a48885c6215d5b3abea55934cddc74a9fb3fdac03e29e269c7e7913b99f0f3b SHA512 23da205f2fc3c60c5df9816dcf08a45ff87523698675122ea231ca29ba04d178c003d2a55577f0e0e4dee08c670d5a18826e6bc6cf325b9e28c5668f1bd4d027 WHIRLPOOL 788e52c4533f153fc43c8ea8f316fc691ff48469e28541471524208ad2c54807e24c192d489fe68279586d28cd20fe8004b588cab9730fd8b9fdfc4b84a3d4b4
+DIST lodgeit-0.3_p20120618.vim 3882 SHA256 b8c1e918a7d6e7c5675ccd05893ad7bf3dae19493248e85735fded16903b06bc SHA512 d8a627fa2430680b78de9d0412c05955fd3294b56590e0e3448d75d9b3f8f5c8921187fee6de5eaf7f9b8e93080042eb3719e2f690c601508ea08878616f301d WHIRLPOOL f6d399c76f7873978d63e2a2f0720bde672d495e45f1fbec02c4125e6e5ae1a3ffa1effcda9e9b8402928c5134456a48a5f53a09f7ffb2667cf4933bbc0c9aee
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_p20120507.ebuild b/app-text/lodgeit/lodgeit-0.3_p20120507.ebuild
new file mode 100644
index 000000000000..59863dfe1d91
--- /dev/null
+++ b/app-text/lodgeit/lodgeit-0.3_p20120507.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+MY_REV="03a5e8a6d1d4"
+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="BSD MIT"
+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}
+
+ 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_p20120618-r1.ebuild b/app-text/lodgeit/lodgeit-0.3_p20120618-r1.ebuild
new file mode 100644
index 000000000000..d5e76f316feb
--- /dev/null
+++ b/app-text/lodgeit/lodgeit-0.3_p20120618-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+MY_REV="1ca55b8189de"
+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="BSD MIT"
+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
+ local vimdir=/usr/share/vim/vimfiles/plugin
+ insinto ${vimdir}
+ newins "${DISTDIR}"/${P}.vim ${PN}.vim
+ #Change default service for Lodgeit vim script
+ sed -e 's:paste.pocoo.org:bpaste.net:g' \
+ -i "${ED}"${vimdir}/${PN}.vim || die "sed failed"
+ fi
+}
diff --git a/app-text/lodgeit/metadata.xml b/app-text/lodgeit/metadata.xml
new file mode 100644
index 000000000000..4b46940c9644
--- /dev/null
+++ b/app-text/lodgeit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>qnikst@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='vim'>
+ Install a vim plugin allowing to paste and download from within vim
+ </flag>
+ </use>
+</pkgmetadata>