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>
This commit is contained in:
Steve Arnold
2022-03-07 09:38:51 -08:00
parent c0bc372bd5
commit 64df436084
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST timew-report-1.4.0.tar.gz 6815 BLAKE2B a0529f575d324a92955eef2b94f302fc61fd09f9b85a092e4b7c5993c1710a189007be900e212bc15a3a29db73feb14d246e2f78a5e2965e26eec05204cc1e34 SHA512 bb1144b0268788c569fef68d10e16311e09f390e66992e71d850ef241de21c3cb67b8f696d776e673856ef53f5205873970b1fc2e06b62696181074090bd58a8

View File

@@ -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>

View File

@@ -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