diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2012-06-09 05:33:48 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2012-06-09 05:33:48 +0000 |
commit | e78a76a2c84255dd98d3c5cc072db8a7bbc60008 (patch) | |
tree | 613a81070982193cdcbc175ec65d10c68147cadb /www-apps/ownpaste | |
parent | Mark stable for all. (diff) | |
download | gentoo-2-e78a76a2c84255dd98d3c5cc072db8a7bbc60008.tar.gz gentoo-2-e78a76a2c84255dd98d3c5cc072db8a7bbc60008.tar.bz2 gentoo-2-e78a76a2c84255dd98d3c5cc072db8a7bbc60008.zip |
Initial version.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/ownpaste')
-rw-r--r-- | www-apps/ownpaste/ChangeLog | 11 | ||||
-rw-r--r-- | www-apps/ownpaste/Manifest | 5 | ||||
-rw-r--r-- | www-apps/ownpaste/metadata.xml | 15 | ||||
-rw-r--r-- | www-apps/ownpaste/ownpaste-0.1.ebuild | 59 | ||||
-rw-r--r-- | www-apps/ownpaste/ownpaste-9999.ebuild | 59 |
5 files changed, 149 insertions, 0 deletions
diff --git a/www-apps/ownpaste/ChangeLog b/www-apps/ownpaste/ChangeLog new file mode 100644 index 000000000000..25502dc11a28 --- /dev/null +++ b/www-apps/ownpaste/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for www-apps/ownpaste +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/ownpaste/ChangeLog,v 1.1 2012/06/09 05:33:48 rafaelmartins Exp $ + +*ownpaste-9999 (09 Jun 2012) +*ownpaste-0.1 (09 Jun 2012) + + 09 Jun 2012; Rafael G. Martins <rafaelmartins@gentoo.org> + +ownpaste-0.1.ebuild, +ownpaste-9999.ebuild, +metadata.xml: + Initial version. + diff --git a/www-apps/ownpaste/Manifest b/www-apps/ownpaste/Manifest new file mode 100644 index 000000000000..047dc8ee6fcc --- /dev/null +++ b/www-apps/ownpaste/Manifest @@ -0,0 +1,5 @@ +DIST ownpaste-0.1.tar.gz 19097 RMD160 b4591b085047b2ec73d53ef87eb79c7ff425ae80 SHA1 aa68f78013521d6815607e4086d4b5b8d8be6604 SHA256 481568b9ef7e44d6d433824dfe3aa7fecfc969f5dbdbd25117c7fdb9484ae471 +EBUILD ownpaste-0.1.ebuild 1193 RMD160 7132c32f94bcaa9cde9dc5407d1e127e73045ab4 SHA1 3fcda71d97243ea904c7ec59231adf8bb4baf1b8 SHA256 75435b19ac40c6aad95b9f9b6a745c6bd05a31bcf1a34781ecd7e807686df0b5 +EBUILD ownpaste-9999.ebuild 1193 RMD160 7132c32f94bcaa9cde9dc5407d1e127e73045ab4 SHA1 3fcda71d97243ea904c7ec59231adf8bb4baf1b8 SHA256 75435b19ac40c6aad95b9f9b6a745c6bd05a31bcf1a34781ecd7e807686df0b5 +MISC ChangeLog 318 RMD160 a2b640b0e0df2fefeabf15f52524cf9681bc3ea2 SHA1 9e48df5aea8ba4d94d3d8a5e1fbdf4c5b5394c02 SHA256 1c1720ebb704bf6c6a817c5f19038a886db6d73f25d1a90adf0dcae2f34ea277 +MISC metadata.xml 438 RMD160 378f067aa60878fa47e46c121389fa8893d7bd1e SHA1 297836dc6cc3a5bbf789f8cb48517b872df6f003 SHA256 367443f339c9211f633a9fc67e66b303f21a0a5216625072ebb65f59d8f89376 diff --git a/www-apps/ownpaste/metadata.xml b/www-apps/ownpaste/metadata.xml new file mode 100644 index 000000000000..b452243522b4 --- /dev/null +++ b/www-apps/ownpaste/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>rafaelmartins@gentoo.org</email> + <name>Rafael G. Martins</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>rafaelmartins@gentoo.org</email> + <name>Rafael G. Martins</name> + </maintainer> + <remote-id type="pypi">ownpaste</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-apps/ownpaste/ownpaste-0.1.ebuild b/www-apps/ownpaste/ownpaste-0.1.ebuild new file mode 100644 index 000000000000..6dbbcf69c61c --- /dev/null +++ b/www-apps/ownpaste/ownpaste-0.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/ownpaste/ownpaste-0.1.ebuild,v 1.1 2012/06/09 05:33:48 rafaelmartins Exp $ + +EAPI=4 + +PYTHON_COMPAT="python2_7" + +HG_ECLASS="" +if [[ ${PV} = *9999* ]]; then + HG_ECLASS="mercurial" + EHG_REPO_URI="https://hg.rafaelmartins.eng.br/ownpaste/" + EHG_REVISION="default" +fi + +inherit python-distutils-ng ${HG_ECLASS} + +DESCRIPTION="Private pastebin (server-side implementation)" +HOMEPAGE="http://ownpaste.rtfd.org/ http://pypi.python.org/pypi/ownpaste" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" +fi + +RDEPEND="dev-python/setuptools + >=dev-python/flask-0.8 + >=dev-python/flask-script-0.3.3 + >=dev-python/flask-sqlalchemy-0.15 + >=dev-python/jinja-2.6 + >=dev-python/werkzeug-0.8 + dev-python/pygments + dev-python/pytz" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +src_compile() { + python-distutils-ng_src_compile + + if use doc; then + einfo 'building documentation' + emake -C docs html + fi +} + +src_install() { + python-distutils-ng_src_install + + if use doc; then + einfo 'installing documentation' + dohtml -r "${S}/docs/_build/html/"* + fi +} diff --git a/www-apps/ownpaste/ownpaste-9999.ebuild b/www-apps/ownpaste/ownpaste-9999.ebuild new file mode 100644 index 000000000000..0a8bd61bd035 --- /dev/null +++ b/www-apps/ownpaste/ownpaste-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/ownpaste/ownpaste-9999.ebuild,v 1.1 2012/06/09 05:33:48 rafaelmartins Exp $ + +EAPI=4 + +PYTHON_COMPAT="python2_7" + +HG_ECLASS="" +if [[ ${PV} = *9999* ]]; then + HG_ECLASS="mercurial" + EHG_REPO_URI="https://hg.rafaelmartins.eng.br/ownpaste/" + EHG_REVISION="default" +fi + +inherit python-distutils-ng ${HG_ECLASS} + +DESCRIPTION="Private pastebin (server-side implementation)" +HOMEPAGE="http://ownpaste.rtfd.org/ http://pypi.python.org/pypi/ownpaste" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" +fi + +RDEPEND="dev-python/setuptools + >=dev-python/flask-0.8 + >=dev-python/flask-script-0.3.3 + >=dev-python/flask-sqlalchemy-0.15 + >=dev-python/jinja-2.6 + >=dev-python/werkzeug-0.8 + dev-python/pygments + dev-python/pytz" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +src_compile() { + python-distutils-ng_src_compile + + if use doc; then + einfo 'building documentation' + emake -C docs html + fi +} + +src_install() { + python-distutils-ng_src_install + + if use doc; then + einfo 'installing documentation' + dohtml -r "${S}/docs/_build/html/"* + fi +} |