diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-im/turses | |
download | gentoo-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 'net-im/turses')
-rw-r--r-- | net-im/turses/Manifest | 2 | ||||
-rw-r--r-- | net-im/turses/files/turses-0.2.11-tests.patch | 28 | ||||
-rw-r--r-- | net-im/turses/metadata.xml | 10 | ||||
-rw-r--r-- | net-im/turses/turses-0.2.13-r1.ebuild | 38 | ||||
-rw-r--r-- | net-im/turses/turses-0.2.23.ebuild | 48 |
5 files changed, 126 insertions, 0 deletions
diff --git a/net-im/turses/Manifest b/net-im/turses/Manifest new file mode 100644 index 000000000000..9eef8bff9527 --- /dev/null +++ b/net-im/turses/Manifest @@ -0,0 +1,2 @@ +DIST turses-0.2.13-r1.tar.gz 2239614 SHA256 76db7c296049c85054e4fb0e3ed86c4ea34aa0724eedd59f8ee55e0d483e0307 SHA512 ce7e2042b6a3c7fb998bb7f5523f7718f60d773d3b89d9175a462bf6f24f458f09aae8a78d481f6de69d6bc5af55dacc57c6976bcd2df2186200b0ee60627aa8 WHIRLPOOL 1920478d4d9d863149e59514700509aea432f1cf06985be635db8651900b7d1cab1f54cd5a7fc6f45df06b353e3ba12e6ab6bb65fdedb3c81645efc070eee539 +DIST turses-0.2.23.tar.gz 2241497 SHA256 f8532a317da939f8c2e285dfd00f73f7878152a5ce12c473ab8023ffe382868a SHA512 ef5b880319f4126a99787cd11fa4573b6c6ff626a759f2515ad507006625f1192e4ca1552ca687ca8ecdf2545a17c228fa956019c325d582e7f80bd8a3e6432b WHIRLPOOL a268261b44faeb3a6f88e59ac9f532fe9a578e425dc2738411d09d64715601fd17eaec979c8eaa55964ed61c6b518e7389417cc068160d5b5b85d48954a22d68 diff --git a/net-im/turses/files/turses-0.2.11-tests.patch b/net-im/turses/files/turses-0.2.11-tests.patch new file mode 100644 index 000000000000..1d72b944ad82 --- /dev/null +++ b/net-im/turses/files/turses-0.2.11-tests.patch @@ -0,0 +1,28 @@ +commit c26c750103e6965bb2334938d77f213ebc2bd862 +Author: Mike Gilbert <floppym@gentoo.org> +Date: Sun Feb 3 13:52:58 2013 -0500 + + Exclude tests from installation + + https://bugs.gentoo.org/show_bug.cgi?id=455250 + +diff --git a/MANIFEST.in b/MANIFEST.in +new file mode 100644 +index 0000000..b562f73 +--- /dev/null ++++ b/MANIFEST.in +@@ -0,0 +1 @@ ++recursive-include tests *.py +diff --git a/setup.py b/setup.py +index 52fe1a1..705a485 100644 +--- a/setup.py ++++ b/setup.py +@@ -63,7 +63,7 @@ setup(name=NAME, + description="A Twitter client for the console.", + long_description=long_description, + keywords="twitter client, curses, console, twitter", +- packages=find_packages(), ++ packages=find_packages(exclude=["tests"]), + entry_points={ + 'console_scripts': + ['turses = turses.cli:main'] diff --git a/net-im/turses/metadata.xml b/net-im/turses/metadata.xml new file mode 100644 index 000000000000..b97b0d9a7e14 --- /dev/null +++ b/net-im/turses/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en"> + </longdescription> + <upstream> + <remote-id type="github">alejandrogomez/turses</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-im/turses/turses-0.2.13-r1.ebuild b/net-im/turses/turses-0.2.13-r1.ebuild new file mode 100644 index 000000000000..b0859431530e --- /dev/null +++ b/net-im/turses/turses-0.2.13-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Command line twitter client" +HOMEPAGE="https://github.com/alejandrogomez/turses" +# NOTE: Remove the "-r1" from SRC_URI on the next version bump +SRC_URI="https://github.com/alejandrogomez/${PN}/archive/v${PV}.tar.gz -> ${P}-r1.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/oauth2[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/tweepy[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" + +DOCS=( AUTHORS HISTORY.rst README.rst ) + +python_test() { + nosetests || die "Tests fail with ${EPYTHON}" +} diff --git a/net-im/turses/turses-0.2.23.ebuild b/net-im/turses/turses-0.2.23.ebuild new file mode 100644 index 000000000000..b944ed3bc8df --- /dev/null +++ b/net-im/turses/turses-0.2.23.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Command line twitter client" +HOMEPAGE="https://github.com/alejandrogomez/turses" +SRC_URI="https://github.com/alejandrogomez/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/oauth2[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] + >dev-python/tweepy-2.2[${PYTHON_USEDEP}] + <dev-python/tweepy-3[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + use doc && emake -C docs html + emake -C docs man +} + +python_test() { + py.test tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + doman "docs/_build/man/turses.1" + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |