commit:     64df43608473eea5224219df826be895aaa2d460
Author:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  7 17:38:51 2022 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 17:38:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64df4360

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 <AT> gentoo.org>

 app-misc/timew-report/Manifest                  |  1 +
 app-misc/timew-report/metadata.xml              | 16 +++++++++++++
 app-misc/timew-report/timew-report-1.4.0.ebuild | 30 +++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

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>[email protected]</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

Reply via email to