diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json new file mode 100644 index 0000000..036ee9c --- /dev/null +++ b/debian/cargo-checksum.json @@ -0,0 +1 @@ +{"package":"5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd","files":{}} diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..edef24d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +rust-wasm-bindgen-backend (0.2.87-ok1) nile; urgency=medium + + * Build for openKylin. + + -- openKylinBot Tue, 07 May 2024 15:31:15 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f064db8 --- /dev/null +++ b/debian/control @@ -0,0 +1,74 @@ +Source: rust-wasm-bindgen-backend +Section: rust +Priority: optional +Build-Depends: debhelper (>= 12), + dh-cargo (>= 25), + cargo:native , + rustc:native , + libstd-rust-dev , + librust-bumpalo-3+default-dev , + librust-log-0.4+default-dev , + librust-once-cell-1+default-dev (>= 1.12-~~) , + librust-proc-macro2-1+default-dev , + librust-quote-1+default-dev , + librust-syn-2+default-dev , + librust-syn-2+full-dev , + librust-wasm-bindgen-shared-0.2.87+default-dev +Maintainer: openKylin Developers +Uploaders: + Wolfgang Silbermayr , + kpcyrd +Standards-Version: 4.6.1 +Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/wasm-bindgen-backend] +Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/wasm-bindgen-backend +Homepage: https://rustwasm.github.io/wasm-bindgen/ +X-Cargo-Crate: wasm-bindgen-backend +Rules-Requires-Root: no + +Package: librust-wasm-bindgen-backend-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-bumpalo-3+default-dev, + librust-log-0.4+default-dev, + librust-once-cell-1+default-dev (>= 1.12-~~), + librust-proc-macro2-1+default-dev, + librust-quote-1+default-dev, + librust-syn-2+default-dev, + librust-syn-2+full-dev, + librust-wasm-bindgen-shared-0.2.87+default-dev +Suggests: + librust-wasm-bindgen-backend+extra-traits-dev (= ${binary:Version}) +Provides: + librust-wasm-bindgen-backend+default-dev (= ${binary:Version}), + librust-wasm-bindgen-backend+spans-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0+default-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0+spans-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2+default-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2+spans-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2.87-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2.87+default-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2.87+spans-dev (= ${binary:Version}) +Description: Backend code generation of the wasm-bindgen tool - Rust source code + This package contains the source for the Rust wasm-bindgen-backend crate, + packaged by debcargo for use with cargo and dh-cargo. + +Package: librust-wasm-bindgen-backend+extra-traits-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-wasm-bindgen-backend-dev (= ${binary:Version}), + librust-syn-2+extra-traits-dev, + librust-syn-2+full-dev +Provides: + librust-wasm-bindgen-backend-0+extra-traits-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2+extra-traits-dev (= ${binary:Version}), + librust-wasm-bindgen-backend-0.2.87+extra-traits-dev (= ${binary:Version}) +Description: Backend code generation of the wasm-bindgen tool - feature "extra-traits" + This metapackage enables feature "extra-traits" for the Rust wasm-bindgen- + backend crate, by pulling in any additional dependencies needed by that + feature. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..87d09ea --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: wasm-bindgen-backend +Upstream-Contact: The wasm-bindgen Developers +Source: https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend + +Files: * +Copyright: 2018-2023 The wasm-bindgen Developers +License: MIT or Apache-2.0 + +Files: debian/* +Copyright: + 2019-2023 Debian Rust Maintainers + 2019-2020 Wolfgang Silbermayr +License: MIT or Apache-2.0 + +License: Apache-2.0 + Debian systems provide the Apache 2.0 license in + /usr/share/common-licenses/Apache-2.0 + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/debian/copyright.debcargo.hint b/debian/copyright.debcargo.hint new file mode 100644 index 0000000..f47c5d9 --- /dev/null +++ b/debian/copyright.debcargo.hint @@ -0,0 +1,50 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: wasm-bindgen-backend +Upstream-Contact: The wasm-bindgen Developers +Source: https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend + +Files: * +Copyright: FIXME (overlay) UNKNOWN-YEARS The wasm-bindgen Developers +License: MIT or Apache-2.0 +Comment: + FIXME (overlay): Since upstream copyright years are not available in + Cargo.toml, they were extracted from the upstream Git repository. This may not + be correct information so you should review and fix this before uploading to + the archive. + +Files: LICENSE-MIT +Copyright: 2014 Alex Crichton +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: debian/* +Copyright: + 2019-2023 Debian Rust Maintainers + 2019-2023 Wolfgang Silbermayr + 2019-2023 kpcyrd +License: MIT or Apache-2.0 + +License: Apache-2.0 + Debian systems provide the Apache 2.0 license in + /usr/share/common-licenses/Apache-2.0 + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. diff --git a/debian/debcargo.toml b/debian/debcargo.toml new file mode 100644 index 0000000..af9fe6b --- /dev/null +++ b/debian/debcargo.toml @@ -0,0 +1,5 @@ +overlay = "." +uploaders = [ + "Wolfgang Silbermayr ", + "kpcyrd ", +] diff --git a/debian/librust-wasm-bindgen-backend+extra-traits-dev.lintian-overrides b/debian/librust-wasm-bindgen-backend+extra-traits-dev.lintian-overrides new file mode 100644 index 0000000..27a9e1d --- /dev/null +++ b/debian/librust-wasm-bindgen-backend+extra-traits-dev.lintian-overrides @@ -0,0 +1 @@ +librust-wasm-bindgen-backend+extra-traits-dev binary: empty-rust-library-declares-provides * \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..92c239b --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +%: + dh $@ --buildsystem cargo + +override_dh_auto_test: + dh_auto_test -- test --all diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..edea07e --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,24 @@ +Test-Command: /usr/share/cargo/bin/cargo-auto-test wasm-bindgen-backend 0.2.87 --all-targets --all-features +Features: test-name=rust-wasm-bindgen-backend:@ +Depends: dh-cargo (>= 18), @ +Restrictions: allow-stderr, skip-not-installable + +Test-Command: /usr/share/cargo/bin/cargo-auto-test wasm-bindgen-backend 0.2.87 --all-targets +Features: test-name=librust-wasm-bindgen-backend-dev:default +Depends: dh-cargo (>= 18), @ +Restrictions: allow-stderr, skip-not-installable + +Test-Command: /usr/share/cargo/bin/cargo-auto-test wasm-bindgen-backend 0.2.87 --all-targets --no-default-features --features spans +Features: test-name=librust-wasm-bindgen-backend-dev:spans +Depends: dh-cargo (>= 18), @ +Restrictions: allow-stderr, skip-not-installable + +Test-Command: /usr/share/cargo/bin/cargo-auto-test wasm-bindgen-backend 0.2.87 --all-targets --no-default-features +Features: test-name=librust-wasm-bindgen-backend-dev: +Depends: dh-cargo (>= 18), @ +Restrictions: allow-stderr, skip-not-installable + +Test-Command: /usr/share/cargo/bin/cargo-auto-test wasm-bindgen-backend 0.2.87 --all-targets --no-default-features --features extra-traits +Features: test-name=librust-wasm-bindgen-backend+extra-traits-dev:extra-traits +Depends: dh-cargo (>= 18), @ +Restrictions: allow-stderr, skip-not-installable diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..3f5fb78 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.*\/(.*)\/download/wasm-bindgen-backend-$1\.tar\.gz/g,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \ +https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/wasm-bindgen-backend .*/crates/wasm-bindgen-backend/@ANY_VERSION@/download