* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/http_proxy/
@ 2024-11-13 0:02 Julien Roy
0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-11-13 0:02 UTC (permalink / raw
To: gentoo-commits
commit: 1a5376269cae85a1c0b54e701cbe30f924a4a95d
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue Nov 12 23:58:26 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Nov 13 00:02:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a537626
dev-crystal/http_proxy: new package, add 0.12.0
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
dev-crystal/http_proxy/Manifest | 1 +
dev-crystal/http_proxy/http_proxy-0.12.0.ebuild | 16 ++++++++++++++++
dev-crystal/http_proxy/metadata.xml | 15 +++++++++++++++
3 files changed, 32 insertions(+)
diff --git a/dev-crystal/http_proxy/Manifest b/dev-crystal/http_proxy/Manifest
new file mode 100644
index 000000000..cd60b4fb6
--- /dev/null
+++ b/dev-crystal/http_proxy/Manifest
@@ -0,0 +1 @@
+DIST http_proxy-0.12.0.tar.gz 8780 BLAKE2B 949c60613cb763f37b27d3a6b9c375726d563333f7400205dc55bc1faba3b0850c237d73d296fd731c32c16358674aa096664240262db93412fd00aeebefbdff SHA512 7f051f7badb94e99dee27eee016144152330a5d3c0d87b6cf91d07bb633c5b6aad5cab55c69fa6753f9c94247f8510a401d3c56f70b7f7582695a41fb9c0f2ce
diff --git a/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
new file mode 100644
index 000000000..ae2f510ba
--- /dev/null
+++ b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
@@ -0,0 +1,16 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shards
+
+DESCRIPTION="HTTP Proxy server and client written in Crystal"
+HOMEPAGE="https://github.com/mamantoha/http_proxy"
+SRC_URI="https://github.com/mamantoha/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( {CHANGELOG,README}.md )
diff --git a/dev-crystal/http_proxy/metadata.xml b/dev-crystal/http_proxy/metadata.xml
new file mode 100644
index 000000000..bf7421a34
--- /dev/null
+++ b/dev-crystal/http_proxy/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Julien Roy</name>
+ <email>julien@jroy.ca</email>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <name>Anton Maminov</name>
+ <email>anton.maminov@gmail.com</email>
+ </maintainer>
+ <remote-id type="github">mamantoha/http_proxy</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/http_proxy/
@ 2024-11-20 23:46 Julien Roy
0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-11-20 23:46 UTC (permalink / raw
To: gentoo-commits
commit: 6ce128bac9a42fb813f6f69b1ae6810da278f1dd
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed Nov 20 22:44:58 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Nov 20 22:45:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ce128ba
dev-crystal/http_proxy: add tests
Closes: https://bugs.gentoo.org/943509
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
dev-crystal/http_proxy/http_proxy-0.12.0.ebuild | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
index ae2f510ba..6db13a433 100644
--- a/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
+++ b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
@@ -12,5 +12,23 @@ SRC_URI="https://github.com/mamantoha/${PN}/archive/refs/tags/v${PV}.tar.gz -> $
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
DOCS=( {CHANGELOG,README}.md )
+
+RDEPEND="
+ test? ( dev-crystal/http_proxy )
+"
+
+src_test() {
+ # Only run tests that don't need net
+ crystal_spec \
+ "${S}"/spec/client_spec.cr:5 \
+ "${S}"/spec/client_spec.cr:13 \
+ "${S}"/spec/client_spec.cr:21 \
+ "${S}"/spec/client_spec.cr:53 \
+ "${S}"/spec/client_spec.cr:101 \
+ "${S}"/spec/server_spec.cr:5 \
+ "${S}"/spec/server_spec.cr:10
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/http_proxy/
@ 2024-11-21 6:01 Anna Vyalkova
0 siblings, 0 replies; 3+ messages in thread
From: Anna Vyalkova @ 2024-11-21 6:01 UTC (permalink / raw
To: gentoo-commits
commit: 47078a9e7a11e3584661d49f4a43bf9f8e509026
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Nov 21 06:00:23 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Nov 21 06:00:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47078a9e
dev-crystal/http_proxy: fix test deps
Bug: https://bugs.gentoo.org/943509
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-crystal/http_proxy/http_proxy-0.12.0.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
index 6db13a433..4ed45232e 100644
--- a/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
+++ b/dev-crystal/http_proxy/http_proxy-0.12.0.ebuild
@@ -17,12 +17,13 @@ RESTRICT="!test? ( test )"
DOCS=( {CHANGELOG,README}.md )
-RDEPEND="
- test? ( dev-crystal/http_proxy )
+DEPEND="
+ test? ( dev-crystal/webmock )
"
src_test() {
- # Only run tests that don't need net
+ # Only run tests that don't need net.
+ # Upstream issue: https://github.com/mamantoha/http_proxy/issues/38
crystal_spec \
"${S}"/spec/client_spec.cr:5 \
"${S}"/spec/client_spec.cr:13 \
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-21 6:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-20 23:46 [gentoo-commits] repo/proj/guru:dev commit in: dev-crystal/http_proxy/ Julien Roy
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 6:01 Anna Vyalkova
2024-11-13 0:02 Julien Roy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox