pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust-src Add rust-std version 1.56.1, copied from...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0400b42d620
branches:  trunk
changeset: 770269:b0400b42d620
user:      he <he%pkgsrc.org@localhost>
date:      Sun Nov 28 13:49:01 2021 +0000

description:
Add rust-std version 1.56.1, copied from pkgsrc-wip.

This package installs the rust-src rust component, which contains
the source code to the rust-std library.

This package may be needed by other packages which depends on the
type definitions for that library.

diffstat:

 lang/rust-src/DESCR    |     5 +
 lang/rust-src/Makefile |    66 ++
 lang/rust-src/PLIST    |  1272 ++++++++++++++++++++++++++++++++++++++++++++++++
 lang/rust-src/distinfo |     5 +
 4 files changed, 1348 insertions(+), 0 deletions(-)

diffs (truncated from 1364 to 300 lines):

diff -r 0d04bcea646d -r b0400b42d620 lang/rust-src/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/rust-src/DESCR       Sun Nov 28 13:49:01 2021 +0000
@@ -0,0 +1,5 @@
+This package installs the rust-src rust component, which contains
+the source code to the rust-std library.
+
+This package may be needed by other packages which depends on the
+type definitions for that library.
diff -r 0d04bcea646d -r b0400b42d620 lang/rust-src/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/rust-src/Makefile    Sun Nov 28 13:49:01 2021 +0000
@@ -0,0 +1,66 @@
+# $NetBSD: Makefile,v 1.1 2021/11/28 13:49:01 he Exp $
+
+DISTNAME=      rust-src-1.56.1
+CATEGORIES=    lang
+MASTER_SITES=  ${MASTER_SITE_LOCAL:=rust/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.rust-lang.org/
+COMMENT=       Source for the rust std library
+LICENSE=       mit OR apache-2.0
+
+USE_TOOLS+=    bash sh
+
+LIBDIR=                        lib/rustlib/src/rust/library
+SRCLIB=                        rust-src/${LIBDIR}
+REPLACE_BASH+=         install.sh
+REPLACE_BASH+=         ${SRCLIB}/backtrace/ci/debuglink.sh
+REPLACE_BASH+=         ${SRCLIB}/stdarch/ci/dox.sh
+REPLACE_BASH+=         ${SRCLIB}/stdarch/ci/run-docker.sh
+REPLACE_BASH+=         ${SRCLIB}/stdarch/ci/run.sh
+REPLACE_BASH+=         ${SRCLIB}/stdarch/ci/style.sh
+
+REPLACE_PYTHON+=       ${SRCLIB}/core/src/unicode/printable.py
+
+REPLACE_SH+=           ${SRCLIB}/backtrace/ci/android-sdk.sh
+
+NO_INTERPRETER+=       ${SRCLIB}/backtrace/ci/android-ndk.sh
+NO_INTERPRETER+=       ${SRCLIB}/backtrace/ci/debuglink-docker.sh
+NO_INTERPRETER+=       ${SRCLIB}/backtrace/ci/miri-rustup.sh
+NO_INTERPRETER+=       ${SRCLIB}/backtrace/ci/run-docker.sh
+
+ORIG_FILES+=           ${LIBDIR}/std/src/sys/unix/mod.rs.orig
+ORIG_FILES+=           ${LIBDIR}/std/src/sys/unix/thread.rs.orig
+ORIG_FILES+=           ${LIBDIR}/unwind/build.rs.orig
+
+MANIFEST=              ${DESTDIR}${PREFIX}/lib/rustlib/manifest-rust-src
+MANIFEST_SRC=          rust-src/manifest.in
+
+do-build:
+       # These do not have an interpreter line...
+       cd ${WRKSRC}; \
+       chmod -x ${NO_INTERPRETER}
+
+do-install:
+       set -e; \
+       \
+       cd ${WRKSRC}; \
+       set -e; \
+       for f in ${ORIG_FILES}; do \
+               rm rust-src/$$f; \
+               grep -v $$f <${MANIFEST_SRC} > ${MANIFEST_SRC}.new; \
+               mv ${MANIFEST_SRC}.new ${MANIFEST_SRC}; \
+       done; \
+       env ${MAKE_ENV} \
+               ${TOOLS_BASH} \
+               ./install.sh --prefix=${DESTDIR}/${PREFIX};
+       # conflicts with main rust package
+       rm -f ${DESTDIR}/${PREFIX}/lib/rustlib/components;
+       rm -f ${DESTDIR}/${PREFIX}/lib/rustlib/rust-installer-version;
+       # fix up install manifest, remove staging ${DESTDIR}
+       ${SED} -e 's;file:${DESTDIR};file:;' \
+               < ${MANIFEST} > ${MANIFEST}.new; \
+       mv ${MANIFEST}.new ${MANIFEST}
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0d04bcea646d -r b0400b42d620 lang/rust-src/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/rust-src/PLIST       Sun Nov 28 13:49:01 2021 +0000
@@ -0,0 +1,1272 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/28 13:49:01 he Exp $
+lib/rustlib/manifest-rust-src
+lib/rustlib/src/rust/Cargo.lock
+lib/rustlib/src/rust/library/alloc/Cargo.toml
+lib/rustlib/src/rust/library/alloc/benches/binary_heap.rs
+lib/rustlib/src/rust/library/alloc/benches/btree/map.rs
+lib/rustlib/src/rust/library/alloc/benches/btree/mod.rs
+lib/rustlib/src/rust/library/alloc/benches/btree/set.rs
+lib/rustlib/src/rust/library/alloc/benches/lib.rs
+lib/rustlib/src/rust/library/alloc/benches/linked_list.rs
+lib/rustlib/src/rust/library/alloc/benches/slice.rs
+lib/rustlib/src/rust/library/alloc/benches/str.rs
+lib/rustlib/src/rust/library/alloc/benches/string.rs
+lib/rustlib/src/rust/library/alloc/benches/vec.rs
+lib/rustlib/src/rust/library/alloc/benches/vec_deque.rs
+lib/rustlib/src/rust/library/alloc/benches/vec_deque_append.rs
+lib/rustlib/src/rust/library/alloc/src/alloc.rs
+lib/rustlib/src/rust/library/alloc/src/alloc/tests.rs
+lib/rustlib/src/rust/library/alloc/src/borrow.rs
+lib/rustlib/src/rust/library/alloc/src/boxed.rs
+lib/rustlib/src/rust/library/alloc/src/collections/binary_heap.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/append.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/borrow.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/borrow/tests.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/fix.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/map.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/map/entry.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/map/tests.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/mem.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/merge_iter.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/mod.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/navigate.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/node.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/node/tests.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/remove.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/search.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/set.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/set/tests.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/split.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/testing/crash_test.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/testing/mod.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/testing/ord_chaos.rs
+lib/rustlib/src/rust/library/alloc/src/collections/btree/testing/rng.rs
+lib/rustlib/src/rust/library/alloc/src/collections/linked_list.rs
+lib/rustlib/src/rust/library/alloc/src/collections/linked_list/tests.rs
+lib/rustlib/src/rust/library/alloc/src/collections/mod.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/drain.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/into_iter.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/iter.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/iter_mut.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/macros.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/mod.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/pair_slices.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/ring_slices.rs
+lib/rustlib/src/rust/library/alloc/src/collections/vec_deque/tests.rs
+lib/rustlib/src/rust/library/alloc/src/fmt.rs
+lib/rustlib/src/rust/library/alloc/src/lib.rs
+lib/rustlib/src/rust/library/alloc/src/macros.rs
+lib/rustlib/src/rust/library/alloc/src/prelude/mod.rs
+lib/rustlib/src/rust/library/alloc/src/prelude/v1.rs
+lib/rustlib/src/rust/library/alloc/src/raw_vec.rs
+lib/rustlib/src/rust/library/alloc/src/raw_vec/tests.rs
+lib/rustlib/src/rust/library/alloc/src/rc.rs
+lib/rustlib/src/rust/library/alloc/src/rc/tests.rs
+lib/rustlib/src/rust/library/alloc/src/slice.rs
+lib/rustlib/src/rust/library/alloc/src/str.rs
+lib/rustlib/src/rust/library/alloc/src/string.rs
+lib/rustlib/src/rust/library/alloc/src/sync.rs
+lib/rustlib/src/rust/library/alloc/src/sync/tests.rs
+lib/rustlib/src/rust/library/alloc/src/task.rs
+lib/rustlib/src/rust/library/alloc/src/tests.rs
+lib/rustlib/src/rust/library/alloc/src/vec/cow.rs
+lib/rustlib/src/rust/library/alloc/src/vec/drain.rs
+lib/rustlib/src/rust/library/alloc/src/vec/drain_filter.rs
+lib/rustlib/src/rust/library/alloc/src/vec/in_place_drop.rs
+lib/rustlib/src/rust/library/alloc/src/vec/into_iter.rs
+lib/rustlib/src/rust/library/alloc/src/vec/is_zero.rs
+lib/rustlib/src/rust/library/alloc/src/vec/mod.rs
+lib/rustlib/src/rust/library/alloc/src/vec/partial_eq.rs
+lib/rustlib/src/rust/library/alloc/src/vec/set_len_on_drop.rs
+lib/rustlib/src/rust/library/alloc/src/vec/source_iter_marker.rs
+lib/rustlib/src/rust/library/alloc/src/vec/spec_extend.rs
+lib/rustlib/src/rust/library/alloc/src/vec/spec_from_elem.rs
+lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter.rs
+lib/rustlib/src/rust/library/alloc/src/vec/spec_from_iter_nested.rs
+lib/rustlib/src/rust/library/alloc/src/vec/splice.rs
+lib/rustlib/src/rust/library/alloc/tests/arc.rs
+lib/rustlib/src/rust/library/alloc/tests/binary_heap.rs
+lib/rustlib/src/rust/library/alloc/tests/borrow.rs
+lib/rustlib/src/rust/library/alloc/tests/boxed.rs
+lib/rustlib/src/rust/library/alloc/tests/btree_set_hash.rs
+lib/rustlib/src/rust/library/alloc/tests/const_fns.rs
+lib/rustlib/src/rust/library/alloc/tests/cow_str.rs
+lib/rustlib/src/rust/library/alloc/tests/fmt.rs
+lib/rustlib/src/rust/library/alloc/tests/heap.rs
+lib/rustlib/src/rust/library/alloc/tests/lib.rs
+lib/rustlib/src/rust/library/alloc/tests/linked_list.rs
+lib/rustlib/src/rust/library/alloc/tests/rc.rs
+lib/rustlib/src/rust/library/alloc/tests/slice.rs
+lib/rustlib/src/rust/library/alloc/tests/str.rs
+lib/rustlib/src/rust/library/alloc/tests/string.rs
+lib/rustlib/src/rust/library/alloc/tests/vec.rs
+lib/rustlib/src/rust/library/alloc/tests/vec_deque.rs
+lib/rustlib/src/rust/library/backtrace/.github/workflows/main.yml
+lib/rustlib/src/rust/library/backtrace/Cargo.toml
+lib/rustlib/src/rust/library/backtrace/LICENSE-APACHE
+lib/rustlib/src/rust/library/backtrace/LICENSE-MIT
+lib/rustlib/src/rust/library/backtrace/README.md
+lib/rustlib/src/rust/library/backtrace/benches/benchmarks.rs
+lib/rustlib/src/rust/library/backtrace/build.rs
+lib/rustlib/src/rust/library/backtrace/ci/android-ndk.sh
+lib/rustlib/src/rust/library/backtrace/ci/android-sdk.sh
+lib/rustlib/src/rust/library/backtrace/ci/debuglink-docker.sh
+lib/rustlib/src/rust/library/backtrace/ci/debuglink.sh
+lib/rustlib/src/rust/library/backtrace/ci/docker/aarch64-linux-android/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/aarch64-unknown-linux-gnu/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/arm-linux-androideabi/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/arm-unknown-linux-gnueabihf/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/armv7-linux-androideabi/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/armv7-unknown-linux-gnueabihf/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/i586-unknown-linux-gnu/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/i686-linux-android/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/i686-unknown-linux-gnu/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/powerpc64-unknown-linux-gnu/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/s390x-unknown-linux-gnu/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/x86_64-linux-android/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/x86_64-pc-windows-gnu/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/x86_64-unknown-linux-gnu/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/docker/x86_64-unknown-linux-musl/Dockerfile
+lib/rustlib/src/rust/library/backtrace/ci/miri-rustup.sh
+lib/rustlib/src/rust/library/backtrace/ci/run-docker.sh
+lib/rustlib/src/rust/library/backtrace/ci/run.sh
+lib/rustlib/src/rust/library/backtrace/ci/runtest-android.rs
+lib/rustlib/src/rust/library/backtrace/examples/backtrace.rs
+lib/rustlib/src/rust/library/backtrace/examples/raw.rs
+lib/rustlib/src/rust/library/backtrace/src/android-api.c
+lib/rustlib/src/rust/library/backtrace/src/backtrace/dbghelp.rs
+lib/rustlib/src/rust/library/backtrace/src/backtrace/libunwind.rs
+lib/rustlib/src/rust/library/backtrace/src/backtrace/miri.rs
+lib/rustlib/src/rust/library/backtrace/src/backtrace/mod.rs
+lib/rustlib/src/rust/library/backtrace/src/backtrace/noop.rs
+lib/rustlib/src/rust/library/backtrace/src/capture.rs
+lib/rustlib/src/rust/library/backtrace/src/dbghelp.rs
+lib/rustlib/src/rust/library/backtrace/src/lib.rs
+lib/rustlib/src/rust/library/backtrace/src/print.rs
+lib/rustlib/src/rust/library/backtrace/src/print/fuchsia.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/dbghelp.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/coff.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/elf.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_dl_iterate_phdr.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_haiku.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_illumos.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_libnx.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_macos.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_windows.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/macho.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/mmap_fake.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/mmap_unix.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/mmap_windows.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/stash.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/miri.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/mod.rs
+lib/rustlib/src/rust/library/backtrace/src/symbolize/noop.rs
+lib/rustlib/src/rust/library/backtrace/src/types.rs
+lib/rustlib/src/rust/library/backtrace/src/windows.rs
+lib/rustlib/src/rust/library/backtrace/tests/accuracy/auxiliary.rs
+lib/rustlib/src/rust/library/backtrace/tests/accuracy/main.rs
+lib/rustlib/src/rust/library/backtrace/tests/concurrent-panics.rs
+lib/rustlib/src/rust/library/backtrace/tests/long_fn_name.rs
+lib/rustlib/src/rust/library/backtrace/tests/skip_inner_frames.rs
+lib/rustlib/src/rust/library/backtrace/tests/smoke.rs
+lib/rustlib/src/rust/library/core/Cargo.toml
+lib/rustlib/src/rust/library/core/benches/any.rs
+lib/rustlib/src/rust/library/core/benches/ascii.rs
+lib/rustlib/src/rust/library/core/benches/ascii/is_ascii.rs
+lib/rustlib/src/rust/library/core/benches/char/methods.rs
+lib/rustlib/src/rust/library/core/benches/char/mod.rs
+lib/rustlib/src/rust/library/core/benches/fmt.rs
+lib/rustlib/src/rust/library/core/benches/hash/mod.rs
+lib/rustlib/src/rust/library/core/benches/hash/sip.rs
+lib/rustlib/src/rust/library/core/benches/iter.rs
+lib/rustlib/src/rust/library/core/benches/lib.rs
+lib/rustlib/src/rust/library/core/benches/num/dec2flt/mod.rs
+lib/rustlib/src/rust/library/core/benches/num/flt2dec/mod.rs
+lib/rustlib/src/rust/library/core/benches/num/flt2dec/strategy/dragon.rs
+lib/rustlib/src/rust/library/core/benches/num/flt2dec/strategy/grisu.rs
+lib/rustlib/src/rust/library/core/benches/num/mod.rs
+lib/rustlib/src/rust/library/core/benches/ops.rs
+lib/rustlib/src/rust/library/core/benches/pattern.rs
+lib/rustlib/src/rust/library/core/benches/slice.rs
+lib/rustlib/src/rust/library/core/src/alloc/global.rs
+lib/rustlib/src/rust/library/core/src/alloc/layout.rs
+lib/rustlib/src/rust/library/core/src/alloc/mod.rs
+lib/rustlib/src/rust/library/core/src/any.rs
+lib/rustlib/src/rust/library/core/src/array/equality.rs
+lib/rustlib/src/rust/library/core/src/array/iter.rs
+lib/rustlib/src/rust/library/core/src/array/mod.rs
+lib/rustlib/src/rust/library/core/src/ascii.rs
+lib/rustlib/src/rust/library/core/src/bool.rs
+lib/rustlib/src/rust/library/core/src/borrow.rs
+lib/rustlib/src/rust/library/core/src/cell.rs
+lib/rustlib/src/rust/library/core/src/char/convert.rs
+lib/rustlib/src/rust/library/core/src/char/decode.rs
+lib/rustlib/src/rust/library/core/src/char/methods.rs
+lib/rustlib/src/rust/library/core/src/char/mod.rs
+lib/rustlib/src/rust/library/core/src/clone.rs
+lib/rustlib/src/rust/library/core/src/cmp.rs
+lib/rustlib/src/rust/library/core/src/convert/mod.rs
+lib/rustlib/src/rust/library/core/src/convert/num.rs
+lib/rustlib/src/rust/library/core/src/default.rs
+lib/rustlib/src/rust/library/core/src/ffi.rs
+lib/rustlib/src/rust/library/core/src/fmt/builders.rs
+lib/rustlib/src/rust/library/core/src/fmt/float.rs
+lib/rustlib/src/rust/library/core/src/fmt/mod.rs
+lib/rustlib/src/rust/library/core/src/fmt/nofloat.rs
+lib/rustlib/src/rust/library/core/src/fmt/num.rs



Home | Main Index | Thread Index | Old Index