summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2022-03-07 09:38:51 -0800
committerSteve Arnold <nerdboy@gentoo.org>2022-03-07 09:38:51 -0800
commit64df43608473eea5224219df826be895aaa2d460 (patch)
treeac2d777902fc4489c27bb7019a9ecfea0ac5f8b1 /app-misc/timew-report
parentx11-themes/papirus-icon-theme: add 20220302 (diff)
downloadgentoo-64df43608473eea5224219df826be895aaa2d460.tar.gz
gentoo-64df43608473eea5224219df826be895aaa2d460.tar.bz2
gentoo-64df43608473eea5224219df826be895aaa2d460.zip
app-misc/timew-report: new ebuild for building custom report output
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
Diffstat (limited to 'app-misc/timew-report')
-rw-r--r--app-misc/timew-report/Manifest1
-rw-r--r--app-misc/timew-report/metadata.xml16
-rw-r--r--app-misc/timew-report/timew-report-1.4.0.ebuild30
3 files changed, 47 insertions, 0 deletions
diff --git a/app-misc/timew-report/Manifest b/app-misc/timew-report/Manifest
new file mode 100644
index 000000000000..3adcf730f41a
--- /dev/null
+++ b/app-misc/timew-report/Manifest
@@ -0,0 +1 @@
+DIST timew-report-1.4.0.tar.gz 6815 BLAKE2B a0529f575d324a92955eef2b94f302fc61fd09f9b85a092e4b7c5993c1710a189007be900e212bc15a3a29db73feb14d246e2f78a5e2965e26eec05204cc1e34 SHA512 bb1144b0268788c569fef68d10e16311e09f390e66992e71d850ef241de21c3cb67b8f696d776e673856ef53f5205873970b1fc2e06b62696181074090bd58a8
diff --git a/app-misc/timew-report/metadata.xml b/app-misc/timew-report/metadata.xml
new file mode 100644
index 000000000000..93dc8a6362d8
--- /dev/null
+++ b/app-misc/timew-report/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nerdboy@gentoo.org</email>
+ <name>Steve Arnold</name>
+ </maintainer>
+ <longdescription lang="en">
+ timew-report is an interface for generating custom reports
+ from timewarrior tracking data (drop your python scripts in
+ the timew extensions directory).
+ </longdescription>
+ <upstream>
+ <remote-id type="github"> lauft/timew-report</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/timew-report/timew-report-1.4.0.ebuild b/app-misc/timew-report/timew-report-1.4.0.ebuild
new file mode 100644
index 000000000000..222a707352ae
--- /dev/null
+++ b/app-misc/timew-report/timew-report-1.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+inherit distutils-r1
+
+DESCRIPTION="An interface for Timewarrior report data"
+HOMEPAGE="https://github.com/lauft/timew-report"
+SRC_URI="https://github.com/lauft/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="${PYTHON_DEPS}
+ app-misc/timew"
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/deprecation[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ test? ( >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] )
+"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest