public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Chris Reffett" <geekboy72@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/synaptiks/, kde-misc/synaptiks/files/
Date: Fri, 23 Mar 2012 18:43:42 +0000 (UTC)	[thread overview]
Message-ID: <1332527217.066e05c7e9f98bb1a44c3ea44ab5875cf9180bc0.creffett@gentoo> (raw)

commit:     066e05c7e9f98bb1a44c3ea44ab5875cf9180bc0
Author:     Chris Reffett <geekboy72 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 22 16:56:55 2012 +0000
Commit:     Chris Reffett <geekboy72 <AT> gmail <DOT> com>
CommitDate: Fri Mar 23 18:26:57 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=066e05c7

[kde-misc/synaptiks] Bumped to 0.8.1, fixed documentation build

(Portage version: 2.2.0_alpha93/git/Linux x86_64, unsigned Manifest commit)

---
 .../files/synaptiks-0.8.1-templatesfix.patch       |   48 ++++++++++++++
 kde-misc/synaptiks/metadata.xml                    |    8 +++
 kde-misc/synaptiks/synaptiks-0.8.1.ebuild          |   67 ++++++++++++++++++++
 3 files changed, 123 insertions(+), 0 deletions(-)

diff --git a/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch b/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch
new file mode 100644
index 0000000..02fcee0
--- /dev/null
+++ b/kde-misc/synaptiks/files/synaptiks-0.8.1-templatesfix.patch
@@ -0,0 +1,48 @@
+--- /dev/null
++++ doc/_templates/issues.html
+@@ -0,0 +1,11 @@
++<h3>Issues, questions and feedback</h3>
++
++<p>
++Please join the mailing list at <a href="mailto:synaptiks@librelist.com">
++synaptiks@librelist.com</a> to ask questions or discuss
++about <strong>synaptiks</strong>.  To subscribe, just send a mail to this list.
++</p>
++
++<p>You can also open an issue at the <a class="reference external"
++href="https://github.com/lunaryorn/synaptiks/issues">tracker</a> to report
++bugs or make enhancement proposals.</p>
+
+--- /dev/null
++++ doc/_templates/sidebartop.html
+@@ -0,0 +1,30 @@
++{% macro link(title, link, internal=true) -%}
++<a class="reference {{ 'internal' if internal else 'external' }}"
++   href="{{ link }}">{{ title }}</a>
++{%- endmacro %}
++
++<p>Current version: <strong>{{release}}</strong></p>
++<ul>
++  <li>{{link('Install <strong>synaptiks</strong>', pathto('install'))}}</li>
++  <li>{{link('Downloads on PyPI', 'https://pypi.python.org/pypi/synaptiks',
++  internal=false)}}</li>
++  <li>{{link('GitHub project', 'https://github.com/lunaryorn/synaptiks',
++  internal=false)}}</li>
++  <li>{{link('KDE Apps',
++  'http://kde-apps.org/content/show.php/synaptiks?content=114270', internal=false)}}</li>
++</ul>
++
++<hr/>
++
++<ul>
++  <li>{{link('Installation instructions', pathto('install'))}}</li>
++  <li>{{link('Handbook', pathto('handbook/index'))}}
++    <ul>
++    <li>{{link('Usage', pathto('handbook/usage'))}}</li>
++    <li>{{link('Reference', pathto('handbook/reference'))}}</li>
++  </ul>
++  </li>
++  <li>{{link('Translation guide', pathto('translation_guide'))}}</li>
++  <li>{{link('API documentation', pathto('api/index'))}}</li>
++  <li>{{link('Changelog', pathto('changes'))}}</li>
++</ul>

diff --git a/kde-misc/synaptiks/metadata.xml b/kde-misc/synaptiks/metadata.xml
new file mode 100644
index 0000000..83b2d69
--- /dev/null
+++ b/kde-misc/synaptiks/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+  <use>
+    <flag name="upower">Handle mouse devices correctly across suspend and resume with upower</flag>
+  </use>
+</pkgmetadata>

diff --git a/kde-misc/synaptiks/synaptiks-0.8.1.ebuild b/kde-misc/synaptiks/synaptiks-0.8.1.ebuild
new file mode 100644
index 0000000..c9e9650
--- /dev/null
+++ b/kde-misc/synaptiks/synaptiks-0.8.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+PYTHON_DEPEND="2:2.6"
+DISTUTILS_SRC_TEST=setup.py
+KDE_HANDBOOK=optional
+inherit kde4-base distutils
+
+DESCRIPTION="Touchpad configuration and management tool for KDE"
+HOMEPAGE="http://synaptiks.readthedocs.org"
+SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +upower doc"
+
+RDEPEND="|| ( >=dev-lang/python-2.7 dev-python/argparse )
+	>=dev-python/PyQt4-4.7
+	>=dev-python/pyudev-0.8[pyqt4]
+	dev-python/setuptools
+	$(add_kdebase_dep pykde4)
+	$(add_kdebase_dep kdesdk-scripts)
+	>=x11-drivers/xf86-input-synaptics-1.3
+	>=x11-libs/libXi-1.4
+	x11-libs/libXtst
+	upower? ( dev-python/dbus-python sys-power/upower )"
+DEPEND="${RDEPEND}
+	app-text/docbook-xsl-stylesheets
+	sys-devel/gettext
+	doc? (
+		>=dev-python/sphinx-1.0.7
+		>=dev-python/sphinxcontrib-issuetracker-0.9
+	)"
+
+pkg_setup() {
+	python_pkg_setup
+}
+
+src_prepare() {
+	if use doc; then
+		epatch "${FILESDIR}/${P}-templatesfix.patch"
+	fi
+}
+
+src_configure() {
+	:;
+}
+
+src_compile() {
+	distutils_src_compile
+	if use doc; then
+		einfo "Generation of documentation"
+		pushd doc > /dev/null
+		sphinx-build . _build
+		popd > /dev/null
+	fi
+}
+
+src_install() {
+	distutils_src_install
+	if use doc; then
+		dohtml -r doc/_build/*
+	fi
+}



             reply	other threads:[~2012-03-23 18:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 18:43 Chris Reffett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-03-26 10:21 [gentoo-commits] proj/kde:master commit in: kde-misc/synaptiks/, kde-misc/synaptiks/files/ 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=1332527217.066e05c7e9f98bb1a44c3ea44ab5875cf9180bc0.creffett@gentoo \
    --to=geekboy72@gmail.com \
    --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