about summary refs log tree commit diff
path: root/dev-util/wakatime
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/wakatime')
-rw-r--r--dev-util/wakatime/Manifest1
-rw-r--r--dev-util/wakatime/metadata.xml11
l---------dev-util/wakatime/wakatime-13.1.0.ebuild1
-rw-r--r--dev-util/wakatime/wakatime-9999.ebuild34
4 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/wakatime/Manifest b/dev-util/wakatime/Manifest
new file mode 100644
index 0000000..b68260e
--- /dev/null
+++ b/dev-util/wakatime/Manifest
@@ -0,0 +1 @@
+DIST wakatime-13.1.0.tar.gz 2557055 BLAKE2B 6412bc8ad5c20b5633e4953842edf0fcc8262c942dabb5a502479df102b29889c8744dfd305e8045c8d06223b89f9eb6d96273f4c807b44d30166366cd811317 SHA512 46255f904164ac1286b64a1b41a5cbe73ace5d5aac66637ac07740a03b08cccd078c03bc9d4194723233005cfa990f4ac783698efad86e54b2ffc3e0b2a46a3d
diff --git a/dev-util/wakatime/metadata.xml b/dev-util/wakatime/metadata.xml
new file mode 100644
index 0000000..9e1163d
--- /dev/null
+++ b/dev-util/wakatime/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>azat@bahawi.net</email>
+		<name>Azat Bahawi</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">wakatime/wakatime</remote-id>
+	</upstream>
+</pkgmetadata>
diff --git a/dev-util/wakatime/wakatime-13.1.0.ebuild b/dev-util/wakatime/wakatime-13.1.0.ebuild
new file mode 120000
index 0000000..810d375
--- /dev/null
+++ b/dev-util/wakatime/wakatime-13.1.0.ebuild
@@ -0,0 +1 @@
+wakatime-9999.ebuild
\ No newline at end of file
diff --git a/dev-util/wakatime/wakatime-9999.ebuild b/dev-util/wakatime/wakatime-9999.ebuild
new file mode 100644
index 0000000..9a2481d
--- /dev/null
+++ b/dev-util/wakatime/wakatime-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+if [[ ${PV} == *9999 ]]; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/wakatime/wakatime"
+fi
+
+inherit distutils-r1 ${SCM}
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/wakatime/wakatime/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Command line interface used by all WakaTime text editor plugins."
+HOMEPAGE="https://github.com/wakatime/wakatime"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+"
+BDEPEND=""

Consider giving Nix/NixOS a try! <3