public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nghttp3/
Date: Fri, 13 Sep 2019 20:38:25 +0000 (UTC)	[thread overview]
Message-ID: <1568407085.7ba0adcf1567d832bf81026b28c0105a705a2d96.candrews@gentoo> (raw)

commit:     7ba0adcf1567d832bf81026b28c0105a705a2d96
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 15:53:43 2019 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 20:38:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba0adcf

net-libs/nghttp3: HTTP/3 library written in C

Closes: https://bugs.gentoo.org/694304
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-libs/nghttp3/Manifest                     |  1 +
 net-libs/nghttp3/metadata.xml                 | 11 ++++++++
 net-libs/nghttp3/nghttp3-0_pre20190912.ebuild | 40 +++++++++++++++++++++++++++
 net-libs/nghttp3/nghttp3-9999.ebuild          | 38 +++++++++++++++++++++++++
 4 files changed, 90 insertions(+)

diff --git a/net-libs/nghttp3/Manifest b/net-libs/nghttp3/Manifest
new file mode 100644
index 00000000000..6280de1439d
--- /dev/null
+++ b/net-libs/nghttp3/Manifest
@@ -0,0 +1 @@
+DIST nghttp3-0_pre20190912.tar.gz 155172 BLAKE2B fabd472e429222502288b7a4030b4aa51f8a1b609590d63b51ab3f918b8cdb462b766a40911986b3f72f2f1b0debee1f0ebdf8802991bf4fc5d4a6d14297bdcc SHA512 89c7b40843bde9d2c2ab24211794b6ae0e1fa15413e92dcf2238b876552f29bb2f0db724d9a205c2a1c98f25a14ef570c9e53df52fb519230b6f78dcc04d2117

diff --git a/net-libs/nghttp3/metadata.xml b/net-libs/nghttp3/metadata.xml
new file mode 100644
index 00000000000..d47d5faabf8
--- /dev/null
+++ b/net-libs/nghttp3/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>candrews@integralblue.com</email>
+		<name>Craig Andrews</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">ngtcp2/ngtcp2</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild b/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild
new file mode 100644
index 00000000000..6489dde91d8
--- /dev/null
+++ b/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-multilib
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git"
+	inherit autotools git-r3
+else
+	GIT_COMMIT="51379a041174ad953dc6ad437712f3b279f81919"
+	SRC_URI="https://github.com/ngtcp2/nghttp3/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="HTTP/3 library written in C"
+HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
+
+LICENSE="MIT"
+SLOT="0/0"
+IUSE="test"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
+RDEPEND=""
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DENABLE_LIB_ONLY=ON
+		-DENABLE_EXAMPLES=OFF
+		-DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test)
+	)
+	cmake-utils_src_configure
+}
+
+multilib_src_test() {
+	cmake-utils_src_make check
+}

diff --git a/net-libs/nghttp3/nghttp3-9999.ebuild b/net-libs/nghttp3/nghttp3-9999.ebuild
new file mode 100644
index 00000000000..62a48b643ad
--- /dev/null
+++ b/net-libs/nghttp3/nghttp3-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-multilib
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/ngtcp2/nghttp3.git"
+	inherit autotools git-r3
+else
+	SRC_URI="https://github.com/ngtcp2/nghttp3/releases/download/v${PV}/${P}.tar.xz"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="HTTP/3 library written in C"
+HOMEPAGE="https://github.com/ngtcp2/nghttp3/"
+
+LICENSE="MIT"
+SLOT="0/0"
+IUSE="test"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
+RDEPEND=""
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DENABLE_LIB_ONLY=ON
+		-DENABLE_EXAMPLES=OFF
+		-DCMAKE_DISABLE_FIND_PACKAGE_CUnit=$(usex !test)
+	)
+	cmake-utils_src_configure
+}
+
+multilib_src_test() {
+	cmake-utils_src_make check
+}


             reply	other threads:[~2019-09-13 20:38 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13 20:38 Craig Andrews [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-15  0:34 [gentoo-commits] repo/gentoo:master commit in: net-libs/nghttp3/ Craig Andrews
2019-09-15 13:33 Craig Andrews
2019-10-08 15:16 Jeroen Roovers
2023-02-19  2:40 Craig Andrews
2023-02-19 20:43 Craig Andrews
2023-02-19 20:43 Craig Andrews
2023-02-24 14:51 Craig Andrews
2023-03-27 13:38 Craig Andrews
2023-03-27 13:38 Craig Andrews
2023-04-26 14:32 Craig Andrews
2023-04-26 14:32 Craig Andrews
2023-06-05 14:15 Craig Andrews
2023-07-10 13:50 Craig Andrews
2023-07-20 21:04 Sam James
2023-08-01 20:10 Craig Andrews
2023-09-05 12:53 Craig Andrews
2023-10-16 12:47 Craig Andrews
2023-10-16 12:47 Craig Andrews
2023-11-26 15:35 Craig Andrews
2023-11-26 15:35 Craig Andrews
2024-02-17  4:16 Craig Andrews
2024-04-05 15:08 Craig Andrews
2024-04-05 15:26 Craig Andrews
2024-04-05 15:26 Craig Andrews
2024-05-09 14:21 Craig Andrews
2024-06-01  1:15 Sam James
2024-06-01  3:56 Sam James
2024-06-01  6:22 Arthur Zamarin
2024-06-05  9:01 Yixun Lan
2024-06-13 14:01 Craig Andrews
2024-07-08  9:16 Matt Jolly
2024-07-08  9:16 Matt Jolly
2024-07-08  9:16 Matt Jolly
2024-08-14  1:38 Matt Jolly
2024-08-20  7:22 WANG Xuerui
2024-08-20  7:22 WANG Xuerui
2024-08-20  8:20 Fabian Groffen
2024-08-25 22:20 Craig Andrews
2024-08-26  8:00 Arthur Zamarin
2024-08-29  5:16 Jakov Smolić
2024-09-11 18:12 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568407085.7ba0adcf1567d832bf81026b28c0105a705a2d96.candrews@gentoo \
    --to=candrews@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox