public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-text/tldr/
@ 2021-08-23  4:32 James Kalyan
  0 siblings, 0 replies; 6+ messages in thread
From: James Kalyan @ 2021-08-23  4:32 UTC (permalink / raw
  To: gentoo-commits

commit:     7f36020745ecb3d4596f9489cbf7554c0a34b084
Author:     James Kalyan <contrib_x <AT> protonmail <DOT> com>
AuthorDate: Mon Aug 23 04:14:42 2021 +0000
Commit:     James Kalyan <contrib_x <AT> protonmail <DOT> com>
CommitDate: Mon Aug 23 04:28:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f360207

app-text/tldr: new pack

Though the project name is tldr-python-client, I named it tldr after its
name in the PyPI repo. AFAIK there is no other tldr client in
::gentoo/::guru and it's trivial to rename if/when a conflicting package
name enters the tree.

Signed-off-by: James Kalyan <contrib_x <AT> protonmail.com>

 app-text/tldr/Manifest          |  1 +
 app-text/tldr/metadata.xml      | 12 ++++++++++++
 app-text/tldr/tldr-2.0.0.ebuild | 22 ++++++++++++++++++++++
 3 files changed, 35 insertions(+)

diff --git a/app-text/tldr/Manifest b/app-text/tldr/Manifest
new file mode 100644
index 000000000..42af48583
--- /dev/null
+++ b/app-text/tldr/Manifest
@@ -0,0 +1 @@
+DIST tldr-2.0.0.tar.gz 8843 BLAKE2B c87704db6f699e883b0d5c075df84ac32ca7ff4133957c111013a537ceab201625d19f2278d73fd931f4052eac8d41b0273bb91e1622208d992faf4a42d640fe SHA512 0872fa1c0d98273ffbaea751940f1591e3297cc72706c174d953fbdce187d41296cd2a954321d6c3fd879566cefffb4707567c8d132fbe6ca21efd1ca3111530

diff --git a/app-text/tldr/metadata.xml b/app-text/tldr/metadata.xml
new file mode 100644
index 000000000..4bb5d2da5
--- /dev/null
+++ b/app-text/tldr/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+   <upstream>
+       <remote-id type="github">tldr-pages/tldr-python-client</remote-id>
+       <bugs-to>https://github.com/tldr-pages/tldr-python-client/issues</bugs-to>
+   </upstream>
+   <maintainer type="person">
+       <email>contrib_x@protonmail.com</email>
+       <name>James Kalyan</name>
+   </maintainer>
+</pkgmetadata>

diff --git a/app-text/tldr/tldr-2.0.0.ebuild b/app-text/tldr/tldr-2.0.0.ebuild
new file mode 100644
index 000000000..8c1311772
--- /dev/null
+++ b/app-text/tldr/tldr-2.0.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+inherit distutils-r1
+
+DESCRIPTION="Python command line client for tldr pages"
+HOMEPAGE="https://github.com/tldr-pages/tldr-python-client/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-python/termcolor
+	dev-python/colorama
+	dev-python/argcomplete
+"
+DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/tldr/
@ 2021-08-31  8:54 Alessandro Barbieri
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Barbieri @ 2021-08-31  8:54 UTC (permalink / raw
  To: gentoo-commits

commit:     b048ee0968017e71a6a84581f32482904c12f44f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Aug 31 08:49:58 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Aug 31 08:49:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b048ee09

app-text/tldr: fix all the ebuild

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../tldr/{tldr-2.0.0.ebuild => tldr-2.0.0-r1.ebuild}    | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/app-text/tldr/tldr-2.0.0.ebuild b/app-text/tldr/tldr-2.0.0-r1.ebuild
similarity index 51%
rename from app-text/tldr/tldr-2.0.0.ebuild
rename to app-text/tldr/tldr-2.0.0-r1.ebuild
index 8c1311772..11c11ff38 100644
--- a/app-text/tldr/tldr-2.0.0.ebuild
+++ b/app-text/tldr/tldr-2.0.0-r1.ebuild
@@ -3,20 +3,25 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{6,7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
 inherit distutils-r1
 
 DESCRIPTION="Python command line client for tldr pages"
-HOMEPAGE="https://github.com/tldr-pages/tldr-python-client/"
+HOMEPAGE="https://github.com/tldr-pages/tldr-python-client"
 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
+DEPEND="
+	${PYTHON_DEPS}
+	dev-python/argcomplete[${PYTHON_USEDEP}]
+	dev-python/colorama[${PYTHON_USEDEP}]
+	dev-python/termcolor[${PYTHON_USEDEP}]
+"
 RDEPEND="
-	dev-python/termcolor
-	dev-python/colorama
-	dev-python/argcomplete
+	${DEPEND}
+	!app-misc/tealdeer
 "
-DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/tldr/
@ 2023-12-02 13:34 Ankit Goel
  0 siblings, 0 replies; 6+ messages in thread
From: Ankit Goel @ 2023-12-02 13:34 UTC (permalink / raw
  To: gentoo-commits

commit:     3fec2d19df61b363d39f3bf70399a81dd802c2b9
Author:     Ankit Goel <ankitgoel616 <AT> gmail <DOT> com>
AuthorDate: Sat Dec  2 13:29:35 2023 +0000
Commit:     Ankit Goel <ankitgoel616 <AT> gmail <DOT> com>
CommitDate: Sat Dec  2 13:34:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3fec2d19

app-text/tldr: Enable python 3.11 and 3.12

Signed-off-by: Ankit Goel <ankitgoel616 <AT> gmail.com>

 app-text/tldr/{tldr-2.0.0-r1.ebuild => tldr-2.0.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/tldr/tldr-2.0.0-r1.ebuild b/app-text/tldr/tldr-2.0.0-r2.ebuild
similarity index 92%
rename from app-text/tldr/tldr-2.0.0-r1.ebuild
rename to app-text/tldr/tldr-2.0.0-r2.ebuild
index 99d5bb93bb..ed9b7c791c 100644
--- a/app-text/tldr/tldr-2.0.0-r1.ebuild
+++ b/app-text/tldr/tldr-2.0.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 pypi
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/tldr/
@ 2024-02-08  9:57 Takuya Wakazono
  0 siblings, 0 replies; 6+ messages in thread
From: Takuya Wakazono @ 2024-02-08  9:57 UTC (permalink / raw
  To: gentoo-commits

commit:     04b65b69685ef5f0ccc9938e0dbecebfd74c8af5
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Feb  7 16:10:05 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Feb  8 09:48:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04b65b69

app-text/tldr: add 3.2.0

Closes: https://bugs.gentoo.org/897376
Closes: https://bugs.gentoo.org/921752
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 app-text/tldr/Manifest          |  1 +
 app-text/tldr/tldr-3.2.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-text/tldr/Manifest b/app-text/tldr/Manifest
index 42af485832..282ec7f6d6 100644
--- a/app-text/tldr/Manifest
+++ b/app-text/tldr/Manifest
@@ -1 +1,2 @@
 DIST tldr-2.0.0.tar.gz 8843 BLAKE2B c87704db6f699e883b0d5c075df84ac32ca7ff4133957c111013a537ceab201625d19f2278d73fd931f4052eac8d41b0273bb91e1622208d992faf4a42d640fe SHA512 0872fa1c0d98273ffbaea751940f1591e3297cc72706c174d953fbdce187d41296cd2a954321d6c3fd879566cefffb4707567c8d132fbe6ca21efd1ca3111530
+DIST tldr-3.2.0.gh.tar.gz 16901 BLAKE2B 4cca5999e7c85b5f5b6e980150cfdabb034776ba5477309fc24d158effd2ef68d263d6cf75e01f3cf06d07ac2f1ab849300fff4907564e1b48728cb017834568 SHA512 1535979548b49cd8b0312f2cd11f69ba3f710e16a27c074dc5a8cb5617d7f343df30ba01a83388b460508ab519045140852767bfc8ff1189d612d71a3d35d76b

diff --git a/app-text/tldr/tldr-3.2.0.ebuild b/app-text/tldr/tldr-3.2.0.ebuild
new file mode 100644
index 0000000000..dce4027d8e
--- /dev/null
+++ b/app-text/tldr/tldr-3.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python command line client for tldr pages"
+HOMEPAGE="https://github.com/tldr-pages/tldr-python-client"
+# sdist lacks some files.
+SRC_URI="https://github.com/tldr-pages/tldr-python-client/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-python-client-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="man"
+
+RDEPEND="
+	dev-python/colorama[${PYTHON_USEDEP}]
+	dev-python/shtab[${PYTHON_USEDEP}]
+	dev-python/termcolor[${PYTHON_USEDEP}]
+	!app-misc/tealdeer
+"
+BDEPEND="
+	man? (
+		dev-python/sphinx
+		dev-python/sphinx-argparse
+	)
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+	use man || sed -i '/data_files/d' setup.py || die
+	distutils-r1_src_prepare
+}
+
+src_compile() {
+	emake -C docs
+	distutils-r1_src_compile
+}
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# tries to access internet
+		tests/test_tldr.py::test_error_message
+	)
+	epytest
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/tldr/
@ 2024-02-08  9:57 Takuya Wakazono
  0 siblings, 0 replies; 6+ messages in thread
From: Takuya Wakazono @ 2024-02-08  9:57 UTC (permalink / raw
  To: gentoo-commits

commit:     67dcebc5560141ce274c3920b6c29de42ff4d12e
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Feb  7 16:10:55 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Feb  8 09:48:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67dcebc5

app-text/tldr: drop 2.0.0-r2

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 app-text/tldr/Manifest             |  1 -
 app-text/tldr/tldr-2.0.0-r2.ebuild | 26 --------------------------
 2 files changed, 27 deletions(-)

diff --git a/app-text/tldr/Manifest b/app-text/tldr/Manifest
index 282ec7f6d6..874cb34d35 100644
--- a/app-text/tldr/Manifest
+++ b/app-text/tldr/Manifest
@@ -1,2 +1 @@
-DIST tldr-2.0.0.tar.gz 8843 BLAKE2B c87704db6f699e883b0d5c075df84ac32ca7ff4133957c111013a537ceab201625d19f2278d73fd931f4052eac8d41b0273bb91e1622208d992faf4a42d640fe SHA512 0872fa1c0d98273ffbaea751940f1591e3297cc72706c174d953fbdce187d41296cd2a954321d6c3fd879566cefffb4707567c8d132fbe6ca21efd1ca3111530
 DIST tldr-3.2.0.gh.tar.gz 16901 BLAKE2B 4cca5999e7c85b5f5b6e980150cfdabb034776ba5477309fc24d158effd2ef68d263d6cf75e01f3cf06d07ac2f1ab849300fff4907564e1b48728cb017834568 SHA512 1535979548b49cd8b0312f2cd11f69ba3f710e16a27c074dc5a8cb5617d7f343df30ba01a83388b460508ab519045140852767bfc8ff1189d612d71a3d35d76b

diff --git a/app-text/tldr/tldr-2.0.0-r2.ebuild b/app-text/tldr/tldr-2.0.0-r2.ebuild
deleted file mode 100644
index ed9b7c791c..0000000000
--- a/app-text/tldr/tldr-2.0.0-r2.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Python command line client for tldr pages"
-HOMEPAGE="https://github.com/tldr-pages/tldr-python-client"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
-	${PYTHON_DEPS}
-	dev-python/argcomplete[${PYTHON_USEDEP}]
-	dev-python/colorama[${PYTHON_USEDEP}]
-	dev-python/termcolor[${PYTHON_USEDEP}]
-"
-RDEPEND="
-	${DEPEND}
-	!app-misc/tealdeer
-"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-text/tldr/
@ 2024-02-10 11:40 Takuya Wakazono
  0 siblings, 0 replies; 6+ messages in thread
From: Takuya Wakazono @ 2024-02-10 11:40 UTC (permalink / raw
  To: gentoo-commits

commit:     4ed31b6d76025d5c2a9aa0883a872fc6bbfd1f12
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Feb  9 12:49:09 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Feb 10 11:39:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4ed31b6d

app-text/tldr: fix man USE flag

Closes: https://bugs.gentoo.org/924148
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 app-text/tldr/tldr-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/tldr/tldr-3.2.0.ebuild b/app-text/tldr/tldr-3.2.0.ebuild
index dce4027d8e..bc86dde4d3 100644
--- a/app-text/tldr/tldr-3.2.0.ebuild
+++ b/app-text/tldr/tldr-3.2.0.ebuild
@@ -40,7 +40,7 @@ src_prepare() {
 }
 
 src_compile() {
-	emake -C docs
+	use man && emake -C docs
 	distutils-r1_src_compile
 }
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-10 11:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-02 13:34 [gentoo-commits] repo/proj/guru:dev commit in: app-text/tldr/ Ankit Goel
  -- strict thread matches above, loose matches on Subject: below --
2024-02-10 11:40 Takuya Wakazono
2024-02-08  9:57 Takuya Wakazono
2024-02-08  9:57 Takuya Wakazono
2021-08-31  8:54 Alessandro Barbieri
2021-08-23  4:32 James Kalyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox