Initial packaging
This commit is contained in:
parent
36bc1e1299
commit
7eab3ffb34
|
@ -0,0 +1,5 @@
|
|||
rebar3 (3.17.0-1) UNRELEASED; urgency=medium
|
||||
|
||||
* Initial upload (Closes: #824773)
|
||||
|
||||
-- Philipp Huebner <debalance@debian.org> Mon, 27 Dec 2021 21:04:32 +0100
|
|
@ -0,0 +1,30 @@
|
|||
Source: rebar3
|
||||
Maintainer: Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>
|
||||
Uploaders: Philipp Huebner <debalance@debian.org>
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Build-Depends: debhelper-compat (= 13), erlang
|
||||
Standards-Version: 4.6.0
|
||||
Rules-Requires-Root: no
|
||||
Homepage: http://www.rebar3.org/
|
||||
Vcs-Browser: https://salsa.debian.org/erlang-team/packages/rebar3
|
||||
Vcs-Git: https://salsa.debian.org/erlang-team/packages/rebar3.git
|
||||
|
||||
Package: rebar3
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, erlang-base:any, ${erlang:Depends}
|
||||
Recommends: git
|
||||
Enhances: erlang
|
||||
Description: Erlang tool to create, develop, and release Erlang libraries and applications
|
||||
Rebar3 is an Erlang tool that makes it easy to create, develop, and release
|
||||
Erlang libraries, applications, and systems in a repeatable manner.
|
||||
Rebar3 will:
|
||||
* respect and enforce standard Erlang/OTP conventions for project structure
|
||||
so they are easily reusable by the community;
|
||||
* manage source dependencies and Erlang packages while ensuring repeatable
|
||||
builds;
|
||||
* handle build artifacts, paths, and libraries such that standard development
|
||||
tools can be used without a headache;
|
||||
* adapt to projects of all sizes on almost any platform;
|
||||
* treat documentation as a feature, and errors or lack of documentation as a
|
||||
bug.
|
|
@ -0,0 +1 @@
|
|||
TODO
|
|
@ -0,0 +1,4 @@
|
|||
_build/prod/bin/rebar3 usr/bin
|
||||
priv/shell-completion/bash/rebar3 usr/share/bash-completion/completions
|
||||
priv/shell-completion/fish/rebar3.fish usr/share/fish/completions
|
||||
priv/shell-completion/zsh/ usr/share/zsh/functions/Completion/Zsh
|
|
@ -0,0 +1 @@
|
|||
rebar3: repeated-path-segment zsh usr/share/zsh/functions/Completion/Zsh/zsh/
|
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/make -f
|
||||
export DH_VERBOSE=1
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
include /usr/share/dpkg/default.mk
|
||||
export ERL_COMPILER_OPTIONS=deterministic
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build
|
||||
HOME=$$(mktemp -d) ./bootstrap && rm -rf "$$HOME"
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
erlang-depends
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean
|
||||
rm -rf _build/bootstrap/
|
||||
rm -rf _build/default/lib/bbmustache/ebin/
|
||||
rm -rf _build/default/lib/certifi/ebin/
|
||||
rm -rf _build/default/lib/cf/ebin/
|
||||
rm -rf _build/default/lib/cth_readable/ebin/
|
||||
rm -rf _build/default/lib/erlware_commons/ebin/
|
||||
rm -rf _build/default/lib/eunit_formatters/ebin/
|
||||
rm -rf _build/default/lib/getopt/ebin/
|
||||
rm -rf _build/default/lib/providers/ebin/
|
||||
rm -rf _build/default/lib/rebar/
|
||||
rm -rf _build/default/lib/relx/ebin/
|
||||
rm -rf _build/default/lib/ssl_verify_fun/ebin/
|
||||
rm -rf _build/prod/
|
||||
rm -rf rebar3
|
||||
rm -rf src/vendored/r3_safe_erl_term.erl
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,5 @@
|
|||
# apparently lintian is unable to handle Windows-style line breaks
|
||||
rebar3 source: very-long-line-length-in-source-file *
|
||||
|
||||
# there are is no gpg signature to check
|
||||
rebar3 source: debian-watch-does-not-check-gpg-signature
|
|
@ -0,0 +1,8 @@
|
|||
Name: rebar3
|
||||
Bug-Database: https://github.com/erlang/rebar3/issues
|
||||
Bug-Submit: https://github.com/erlang/rebar3/issues/new
|
||||
Changelog: https://github.com/erlang/rebar3/commits/master
|
||||
Repository: https://github.com/erlang/rebar3.git
|
||||
Repository-Browse: https://github.com/erlang/rebar3
|
||||
Registration: https://github.com/join
|
||||
Documentation: https://www.rebar3.org/docs/
|
|
@ -0,0 +1,3 @@
|
|||
version=4
|
||||
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/rebar3--$1\.tar\.gz/ \
|
||||
https://github.com/weiss/rebar3/releases .*/rebar3-(\d\S+)\.tar\.gz
|
Loading…
Reference in New Issue