dotenv: fix manpage path, don't patch upstream features
Ximin Luo
4 years ago
146 | 146 |
For now, testsuites aren't executed for library.
|
147 | 147 |
However, for binary, it is strongly recommended to run the testsuites.
|
148 | 148 |
See ripgrep as example.
|
|
149 |
|
|
150 |
Binary-crate has "required-features"
|
|
151 |
------------------------------------
|
|
152 |
|
|
153 |
See ``src/dotenv`` for an example on dealing with this.
|
|
154 |
|
|
155 |
Binary-crate has conflicting name
|
|
156 |
---------------------------------
|
|
157 |
|
|
158 |
See ``src/fd-find`` for an example on dealing with this.
|
149 | 159 |
|
150 | 160 |
Updating the dependencies
|
151 | 161 |
-------------------------
|
0 | |
rust-dotenv (0.14.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
|
0 |
rust-dotenv (0.15.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
1 | 1 |
|
|
2 |
* Package dotenv 0.15.0 from crates.io using debcargo 2.4.0
|
|
3 |
|
|
4 |
[ Justin Geibel ]
|
2 | 5 |
* Rename `dotenv` to `dotenv-rust` on the PATH
|
3 | 6 |
|
4 | 7 |
[ Niklas Claesson ]
|
5 | 8 |
* Team upload.
|
6 | 9 |
* Package dotenv 0.14.1 from crates.io using debcargo 2.4.0
|
7 | 10 |
|
8 | |
-- Justin Geibel <jtgeibel@gmail.com> Wed, 16 Oct 2019 23:27:53 -0400
|
|
11 |
-- Ximin Luo <infinity0@debian.org> Tue, 31 Dec 2019 01:40:22 +0000
|
6 | 6 |
Alice Maz <alice@alicemaz.com>
|
7 | 7 |
Sean Griffin <sean@seantheprogrammer.com>
|
8 | 8 |
Adam Sharp <adam@sharplet.me>
|
|
9 |
Arpad Borsos <arpad.borsos@googlemail.com>
|
9 | 10 |
Source: https://github.com/dotenv-rs/dotenv
|
10 | 11 |
|
11 | 12 |
Files: *
|
|
16 | 17 |
FIXME (overlay) UNKNOWN-YEARS Alice Maz <alice@alicemaz.com>
|
17 | 18 |
FIXME (overlay) UNKNOWN-YEARS Sean Griffin <sean@seantheprogrammer.com>
|
18 | 19 |
FIXME (overlay) UNKNOWN-YEARS Adam Sharp <adam@sharplet.me>
|
|
20 |
FIXME (overlay) UNKNOWN-YEARS Arpad Borsos <arpad.borsos@googlemail.com>
|
19 | 21 |
License: MIT
|
20 | 22 |
Comment:
|
21 | 23 |
FIXME (overlay): Since upstream copyright years are not available in
|
1 | 1 |
uploaders = ["Niklas Claesson <nicke.claesson@gmail.com>"]
|
2 | 2 |
|
3 | 3 |
[source]
|
4 | |
build_depends = ["help2man"]
|
|
4 |
build_depends = ["help2man", "librust-clap-2+default-dev"]
|
|
5 |
# extra "clap" b-d is needed because [[bin]] has extra required-features
|
5 | 6 |
|
6 | 7 |
[packages.bin]
|
7 | 8 |
section = "devel"
|
0 | |
debian/dotenv.1
|
|
0 |
debian/dotenv-rust.1
|
src/dotenv/debian/patches/enable-bin.patch
less
more
0 | |
Enable feature to build executable.
|
1 | |
Index: dotenv/Cargo.toml
|
2 | |
===================================================================
|
3 | |
--- dotenv.orig/Cargo.toml
|
4 | |
+++ dotenv/Cargo.toml
|
5 | |
@@ -45,4 +45,4 @@ version = "3.0.0"
|
6 | |
[features]
|
7 | |
backtrace = ["failure/backtrace"]
|
8 | |
cli = ["clap"]
|
9 | |
-default = ["backtrace"]
|
10 | |
+default = ["backtrace", "cli"]
|
src/dotenv/debian/patches/series
less
more
3 | 3 |
|
4 | 4 |
%:
|
5 | 5 |
dh $@ --buildsystem cargo
|
|
6 |
|
|
7 |
override_dh_auto_install:
|
|
8 |
dh_auto_install -- --features cli
|
6 | 9 |
|
7 | 10 |
override_dh_install:
|
8 | 11 |
# dotenv is already used by another packages. Install dotenv into /usr/lib/cargo/bin/
|
|
19 | 22 |
--no-info \
|
20 | 23 |
--no-discard-stderr \
|
21 | 24 |
--version-string $(DEB_VERSION_UPSTREAM) \
|
22 | |
debian/dotenv/usr/lib/cargo/bin/dotenv > debian/dotenv.1
|
|
25 |
debian/dotenv/usr/lib/cargo/bin/dotenv > debian/dotenv-rust.1
|
23 | 26 |
dh_installman -O--buildsystem=cargo
|