dev-erlang/cowboy: new package

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Brian Kubisiak <brian@kubisiak.com>
This commit is contained in:
Brian Kubisiak
2021-04-14 18:10:38 -07:00
parent 57a14816f9
commit cbe582fd10
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST cowboy-2.8.0.tar.gz 3728168 BLAKE2B d669625206ddf2a7209487603ab30f07e9cf3c177b31c8eb883c857116c15c03431ac64809ab2afdd5b7a66a4858e1180a5d1ffb732f1c3a6c514669840ddfaf SHA512 930728b26d01b7936ae58d0b77673de5179de22ac633110773cbe85b8cfc26a6373ecd66b5133c4059af4f8b1b070dd87f4da88ffede1a4def28699e91af1511

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rebar
DESCRIPTION="Small, fast, modern HTTP server for Erlang/OTP."
HOMEPAGE="https://github.com/ninenines/cowboy"
SRC_URI="https://github.com/ninenines/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-erlang/cowlib"
RDEPEND="${DEPEND}
=dev-erlang/ranch-1.7.1*"
DOCS=( README.asciidoc )
# TODO: cowboy has a test suite with lots of dependencies; enable it once those
# dependencies are merged as well
RESTRICT=test
# Override rebar's default since cowboy doesn't have cowboy.app.src but still
# needs its deps removed
src_prepare() {
default
rebar_remove_deps
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>brian@kubisiak.com</email>
<name>Brian Kubisiak</name>
</maintainer>
</pkgmetadata>