pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/geckodriver geckodriver: update to 0.23.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9422ce42ebeb
branches:  trunk
changeset: 389640:9422ce42ebeb
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Jan 05 03:01:30 2019 +0000

description:
geckodriver: update to 0.23.0

v0.23.0

Removed:
- The POST /session/{session id}/element/{element id}/tap endpoint
  was removed, thanks to Kerem Kat.
Changed:
- webdriver crate upgraded to 0.38.0.
Fixed:
- desiredCapabilities and requiredCapabilities are again
    recognised on session creation
- duration field made optional on pause actions
- Log level formatted to expected Marionette input
- temporary field on addon installation made optional
- SHA1s in version information uses limited number of characters

diffstat:

 www/geckodriver/Makefile                                     |   238 +-
 www/geckodriver/distinfo                                     |   741 +++-
 www/geckodriver/files/Cargo.lock                             |  1362 ++++++++++
 www/geckodriver/patches/patch-Cargo.toml                     |    15 +
 www/geckodriver/patches/patch-vendor_mozrunner_src_runner.rs |    27 +-
 5 files changed, 2034 insertions(+), 349 deletions(-)

diffs (truncated from 2515 to 300 lines):

diff -r 2368404a73ec -r 9422ce42ebeb www/geckodriver/Makefile
--- a/www/geckodriver/Makefile  Sat Jan 05 02:58:54 2019 +0000
+++ b/www/geckodriver/Makefile  Sat Jan 05 03:01:30 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2018/12/12 04:51:35 minskim Exp $
+# $NetBSD: Makefile,v 1.7 2019/01/05 03:01:30 tnn Exp $
 
-DISTNAME=      geckodriver-0.20.1
+DISTNAME=      geckodriver-0.23.0
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mozilla/}
 GITHUB_PROJECT=        geckodriver
@@ -11,95 +11,161 @@
 COMMENT=       W3C WebDriver-compatible proxy for Gecko-based browsers
 LICENSE=       mpl-1.1
 
-CARGO_CRATE_DEPENDS+=          \
-       adler32-1.0.2           \
-       aho-corasick-0.6.4      \
-       base64-0.6.0            \
-       bitflags-1.0.1          \
-       build_const-0.2.0       \
-       byteorder-1.2.2         \
-       bzip2-0.3.2             \
-       bzip2-sys-0.1.6         \
-       cc-1.0.9                \
-       cfg-if-0.1.2            \
-       chrono-0.2.25           \
-       clap-2.31.2             \
-       cookie-0.10.1           \
-       crc-1.7.0               \
-       flate2-1.0.1            \
-       fuchsia-zircon-0.3.3    \
-       fuchsia-zircon-sys-0.3.3        \
-       httparse-1.2.4          \
-       hyper-0.10.13           \
-       idna-0.1.4              \
-       kernel32-sys-0.2.2      \
-       language-tags-0.2.2     \
-       lazy_static-1.0.0       \
-       libc-0.2.40             \
-       log-0.3.9               \
-       log-0.4.1               \
-       matches-0.1.6           \
-       memchr-2.0.1            \
-       mime-0.2.6              \
-       miniz_oxide-0.1.2       \
-       miniz_oxide_c_api-0.1.2 \
-       mozprofile-0.3.0        \
-       mozrunner-0.6.1         \
-       mozversion-0.1.3        \
-       msdos_time-0.1.5        \
-       num-0.1.42              \
-       num-integer-0.1.36      \
-       num-iter-0.1.35         \
-       num-traits-0.2.2        \
-       num_cpus-1.8.0          \
-       percent-encoding-1.0.1  \
-       podio-0.1.6             \
-       rand-0.3.22             \
-       rand-0.4.2              \
-       redox_syscall-0.1.37    \
-       regex-0.2.10            \
-       regex-syntax-0.5.3      \
-       remove_dir_all-0.5.0    \
-       rust-ini-0.10.3         \
-       rustc-serialize-0.3.24  \
-       safemem-0.2.0           \
-       semver-0.6.0            \
-       semver-parser-0.7.0     \
-       strsim-0.7.0            \
-       tempdir-0.3.7           \
-       term_size-0.3.1         \
-       textwrap-0.9.0          \
-       thread_local-0.3.5      \
-       time-0.1.39             \
-       traitobject-0.1.0       \
-       typeable-0.1.2          \
-       ucd-util-0.1.1          \
-       unicase-1.4.2           \
-       unicode-bidi-0.3.4      \
-       unicode-normalization-0.1.5     \
-       unicode-segmentation-1.2.0      \
-       unicode-width-0.1.4     \
-       unreachable-1.0.0       \
-       url-1.7.0               \
-       utf8-ranges-1.0.0       \
-       uuid-0.1.18             \
-       version_check-0.1.3     \
-       void-1.0.2              \
-       webdriver-0.35.0        \
-       winapi-0.2.8            \
-       winapi-0.3.4            \
-       winapi-build-0.1.1      \
-       winapi-i686-pc-windows-gnu-0.4.0        \
-       winapi-x86_64-pc-windows-gnu-0.4.0      \
-       winreg-0.5.0            \
-       zip-0.3.1
+CARGO_CRATE_DEPENDS+=  adler32-1.0.3
+CARGO_CRATE_DEPENDS+=  aho-corasick-0.6.9
+CARGO_CRATE_DEPENDS+=  arrayvec-0.4.10
+CARGO_CRATE_DEPENDS+=  autocfg-0.1.1
+CARGO_CRATE_DEPENDS+=  base64-0.9.3
+CARGO_CRATE_DEPENDS+=  bitflags-1.0.4
+CARGO_CRATE_DEPENDS+=  build_const-0.2.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.2.7
+CARGO_CRATE_DEPENDS+=  bytes-0.4.11
+CARGO_CRATE_DEPENDS+=  bzip2-0.3.3
+CARGO_CRATE_DEPENDS+=  bzip2-sys-0.1.7
+CARGO_CRATE_DEPENDS+=  cc-1.0.28
+CARGO_CRATE_DEPENDS+=  cfg-if-0.1.6
+CARGO_CRATE_DEPENDS+=  chrono-0.4.6
+CARGO_CRATE_DEPENDS+=  clap-2.32.0
+CARGO_CRATE_DEPENDS+=  cloudabi-0.0.3
+CARGO_CRATE_DEPENDS+=  cookie-0.11.0
+CARGO_CRATE_DEPENDS+=  crc-1.8.1
+CARGO_CRATE_DEPENDS+=  crc32fast-1.1.2
+CARGO_CRATE_DEPENDS+=  crossbeam-deque-0.6.3
+CARGO_CRATE_DEPENDS+=  crossbeam-epoch-0.7.0
+CARGO_CRATE_DEPENDS+=  crossbeam-utils-0.6.3
+CARGO_CRATE_DEPENDS+=  flate2-1.0.6
+CARGO_CRATE_DEPENDS+=  fnv-1.0.6
+CARGO_CRATE_DEPENDS+=  fuchsia-zircon-0.3.3
+CARGO_CRATE_DEPENDS+=  fuchsia-zircon-sys-0.3.3
+CARGO_CRATE_DEPENDS+=  futures-0.1.25
+CARGO_CRATE_DEPENDS+=  futures-cpupool-0.1.8
+CARGO_CRATE_DEPENDS+=  h2-0.1.14
+CARGO_CRATE_DEPENDS+=  http-0.1.14
+CARGO_CRATE_DEPENDS+=  httparse-1.3.3
+CARGO_CRATE_DEPENDS+=  hyper-0.12.19
+CARGO_CRATE_DEPENDS+=  idna-0.1.5
+CARGO_CRATE_DEPENDS+=  indexmap-1.0.2
+CARGO_CRATE_DEPENDS+=  iovec-0.1.2
+CARGO_CRATE_DEPENDS+=  itoa-0.4.3
+CARGO_CRATE_DEPENDS+=  kernel32-sys-0.2.2
+CARGO_CRATE_DEPENDS+=  lazy_static-1.2.0
+CARGO_CRATE_DEPENDS+=  lazycell-1.2.1
+CARGO_CRATE_DEPENDS+=  libc-0.2.46
+CARGO_CRATE_DEPENDS+=  lock_api-0.1.5
+CARGO_CRATE_DEPENDS+=  log-0.4.6
+CARGO_CRATE_DEPENDS+=  matches-0.1.8
+CARGO_CRATE_DEPENDS+=  memchr-2.1.2
+CARGO_CRATE_DEPENDS+=  memoffset-0.2.1
+CARGO_CRATE_DEPENDS+=  miniz_oxide-0.2.0
+CARGO_CRATE_DEPENDS+=  miniz_oxide_c_api-0.2.0
+CARGO_CRATE_DEPENDS+=  mio-0.6.16
+CARGO_CRATE_DEPENDS+=  mio-uds-0.6.7
+CARGO_CRATE_DEPENDS+=  miow-0.2.1
+CARGO_CRATE_DEPENDS+=  mozprofile-0.4.0
+CARGO_CRATE_DEPENDS+=  mozrunner-0.8.0
+CARGO_CRATE_DEPENDS+=  mozversion-0.1.3
+CARGO_CRATE_DEPENDS+=  msdos_time-0.1.6
+CARGO_CRATE_DEPENDS+=  net2-0.2.33
+CARGO_CRATE_DEPENDS+=  nodrop-0.1.13
+CARGO_CRATE_DEPENDS+=  num-integer-0.1.39
+CARGO_CRATE_DEPENDS+=  num-traits-0.2.6
+CARGO_CRATE_DEPENDS+=  num_cpus-1.9.0
+CARGO_CRATE_DEPENDS+=  owning_ref-0.4.0
+CARGO_CRATE_DEPENDS+=  parking_lot-0.6.4
+CARGO_CRATE_DEPENDS+=  parking_lot_core-0.3.1
+CARGO_CRATE_DEPENDS+=  percent-encoding-1.0.1
+CARGO_CRATE_DEPENDS+=  podio-0.1.6
+CARGO_CRATE_DEPENDS+=  proc-macro2-0.4.24
+CARGO_CRATE_DEPENDS+=  quote-0.6.10
+CARGO_CRATE_DEPENDS+=  rand-0.3.22
+CARGO_CRATE_DEPENDS+=  rand-0.4.3
+CARGO_CRATE_DEPENDS+=  rand-0.5.5
+CARGO_CRATE_DEPENDS+=  rand-0.6.3
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.1.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.2.2
+CARGO_CRATE_DEPENDS+=  rand_core-0.3.0
+CARGO_CRATE_DEPENDS+=  rand_hc-0.1.0
+CARGO_CRATE_DEPENDS+=  rand_isaac-0.1.1
+CARGO_CRATE_DEPENDS+=  rand_os-0.1.0
+CARGO_CRATE_DEPENDS+=  rand_pcg-0.1.1
+CARGO_CRATE_DEPENDS+=  rand_xorshift-0.1.1
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.50
+CARGO_CRATE_DEPENDS+=  regex-0.2.11
+CARGO_CRATE_DEPENDS+=  regex-1.1.0
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.5.6
+CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.4
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.1
+CARGO_CRATE_DEPENDS+=  rust-ini-0.10.3
+CARGO_CRATE_DEPENDS+=  rustc_version-0.2.3
+CARGO_CRATE_DEPENDS+=  ryu-0.2.7
+CARGO_CRATE_DEPENDS+=  safemem-0.3.0
+CARGO_CRATE_DEPENDS+=  scopeguard-0.3.3
+CARGO_CRATE_DEPENDS+=  semver-0.6.0
+CARGO_CRATE_DEPENDS+=  semver-0.9.0
+CARGO_CRATE_DEPENDS+=  semver-parser-0.7.0
+CARGO_CRATE_DEPENDS+=  serde-1.0.84
+CARGO_CRATE_DEPENDS+=  serde_derive-1.0.84
+CARGO_CRATE_DEPENDS+=  serde_json-1.0.34
+CARGO_CRATE_DEPENDS+=  slab-0.4.1
+CARGO_CRATE_DEPENDS+=  smallvec-0.6.7
+CARGO_CRATE_DEPENDS+=  stable_deref_trait-1.1.1
+CARGO_CRATE_DEPENDS+=  string-0.1.2
+CARGO_CRATE_DEPENDS+=  strsim-0.7.0
+CARGO_CRATE_DEPENDS+=  syn-0.15.23
+CARGO_CRATE_DEPENDS+=  tempdir-0.3.7
+CARGO_CRATE_DEPENDS+=  term_size-0.3.1
+CARGO_CRATE_DEPENDS+=  textwrap-0.10.0
+CARGO_CRATE_DEPENDS+=  thread_local-0.3.6
+CARGO_CRATE_DEPENDS+=  time-0.1.41
+CARGO_CRATE_DEPENDS+=  tokio-0.1.13
+CARGO_CRATE_DEPENDS+=  tokio-codec-0.1.1
+CARGO_CRATE_DEPENDS+=  tokio-current-thread-0.1.4
+CARGO_CRATE_DEPENDS+=  tokio-executor-0.1.5
+CARGO_CRATE_DEPENDS+=  tokio-fs-0.1.4
+CARGO_CRATE_DEPENDS+=  tokio-io-0.1.10
+CARGO_CRATE_DEPENDS+=  tokio-reactor-0.1.7
+CARGO_CRATE_DEPENDS+=  tokio-tcp-0.1.2
+CARGO_CRATE_DEPENDS+=  tokio-threadpool-0.1.9
+CARGO_CRATE_DEPENDS+=  tokio-timer-0.2.8
+CARGO_CRATE_DEPENDS+=  tokio-udp-0.1.3
+CARGO_CRATE_DEPENDS+=  tokio-uds-0.2.4
+CARGO_CRATE_DEPENDS+=  try-lock-0.2.2
+CARGO_CRATE_DEPENDS+=  ucd-util-0.1.3
+CARGO_CRATE_DEPENDS+=  unicode-bidi-0.3.4
+CARGO_CRATE_DEPENDS+=  unicode-normalization-0.1.7
+CARGO_CRATE_DEPENDS+=  unicode-segmentation-1.2.1
+CARGO_CRATE_DEPENDS+=  unicode-width-0.1.5
+CARGO_CRATE_DEPENDS+=  unicode-xid-0.1.0
+CARGO_CRATE_DEPENDS+=  unreachable-1.0.0
+CARGO_CRATE_DEPENDS+=  url-1.7.2
+CARGO_CRATE_DEPENDS+=  utf8-ranges-1.0.2
+CARGO_CRATE_DEPENDS+=  uuid-0.5.1
+CARGO_CRATE_DEPENDS+=  version_check-0.1.5
+CARGO_CRATE_DEPENDS+=  void-1.0.2
+CARGO_CRATE_DEPENDS+=  want-0.0.6
+CARGO_CRATE_DEPENDS+=  webdriver-0.38.0
+CARGO_CRATE_DEPENDS+=  winapi-0.2.8
+CARGO_CRATE_DEPENDS+=  winapi-0.3.6
+CARGO_CRATE_DEPENDS+=  winapi-build-0.1.1
+CARGO_CRATE_DEPENDS+=  winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  winapi-x86_64-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+=  winreg-0.5.1
+CARGO_CRATE_DEPENDS+=  ws2_32-sys-0.2.1
+CARGO_CRATE_DEPENDS+=  zip-0.4.2
+
+INSTALLATION_DIRS=     bin
+
+# Mozilla stopped providing a standalone Cargo.lock for geckodriver.
+# So, we have to maintain a local copy.
+post-extract:
+       cp ${FILESDIR}/Cargo.lock ${WRKSRC}/Cargo.lock
 
 do-build:
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release
 
 do-install:
-       cd ${WRKSRC} && ${PREFIX}/bin/cargo install --root ${DESTDIR}${PREFIX}
-       rm ${DESTDIR}${PREFIX}/.crates.toml
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/geckodriver ${DESTDIR}${PREFIX}/bin
 
+.include "../../lang/rust/buildlink3.mk"
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2368404a73ec -r 9422ce42ebeb www/geckodriver/distinfo
--- a/www/geckodriver/distinfo  Sat Jan 05 02:58:54 2019 +0000
+++ b/www/geckodriver/distinfo  Sat Jan 05 03:01:30 2019 +0000
@@ -1,65 +1,101 @@
-$NetBSD: distinfo,v 1.3 2018/05/09 23:41:39 maya Exp $
+$NetBSD: distinfo,v 1.4 2019/01/05 03:01:30 tnn Exp $
 
-SHA1 (adler32-1.0.2.crate) = 1cd9103c6a836589866b82002f7e73ef6a112097
-RMD160 (adler32-1.0.2.crate) = a9f6f2e2f086a9dab8cf82209484741d9f980aef
-SHA512 (adler32-1.0.2.crate) = e0589745fa6758eb728e1c5a24592a2e1de6d8694194b81a477ea51b07f5a2d9bfe0f5d46b1d007d8274dece8e1be564292dacef5b92747b27949d007c2bb48f
-Size (adler32-1.0.2.crate) = 5348 bytes
-SHA1 (aho-corasick-0.6.4.crate) = fedf6ca36887ccf37e0b9be80b3303fb14508887
-RMD160 (aho-corasick-0.6.4.crate) = 64351ab3da703b5276bba7e1c332ac7e50a5fb63
-SHA512 (aho-corasick-0.6.4.crate) = 0191f627896469bdb271f1b9d2f3d3b0f7952579cd07c2659996ad66a961dbe605c6a4a929100d6b9c246e65199c0e180b1e8349943f06a6f08250e003e62b65
-Size (aho-corasick-0.6.4.crate) = 25443 bytes
-SHA1 (base64-0.6.0.crate) = 2c183ace7699917685e25dd833e71142d5ffc036
-RMD160 (base64-0.6.0.crate) = 910f6f8c1d7d1754f5241a3eda0ed4a20a606623
-SHA512 (base64-0.6.0.crate) = e81dd6c8b89adb2682eabed43b6f2b91623f04b44e5962b9c84ad26d41074d0c7f0a06b20c6dff70841aa23a2c34ec68805db04d7aeebd1f23b96d0e908b35c8
-Size (base64-0.6.0.crate) = 25720 bytes
-SHA1 (bitflags-1.0.1.crate) = d7da06a6de58e9273dee5207734057bf722376ba
-RMD160 (bitflags-1.0.1.crate) = 92184075730d0601dc17ced504601b0ae55d64e2
-SHA512 (bitflags-1.0.1.crate) = 6ca3a06645534769fb5c5ad91958e9e802db5a4b49a2a11b0be5243d7e92e32e552183a7ba8d7052f8543f642bc0e4799ef0f36013f64e5c60f4e98bbb26e465
-Size (bitflags-1.0.1.crate) = 13451 bytes
-SHA1 (build_const-0.2.0.crate) = 06c63ea5618629e5ff662a6e6bc35031413a6e39
-RMD160 (build_const-0.2.0.crate) = 731de910dffde06984b7a623922eb928e8672cd3
-SHA512 (build_const-0.2.0.crate) = 664b525db27fe345f0766ac71b0ad938bfa424a18987c4b95cc868e1240be815554aa467cfe204891ed404980ef3df4f430c43f0167b2f6577aa9cf7f7ea19cc
-Size (build_const-0.2.0.crate) = 4184 bytes
-SHA1 (byteorder-1.2.2.crate) = 477053e256c13e002bf760000ba97a5c291d0245
-RMD160 (byteorder-1.2.2.crate) = cd84a9f1aaadc9c826b21e285b16a5381b77598f
-SHA512 (byteorder-1.2.2.crate) = b3b0aa23f0d6a5023fbc8571e73cb7aabd8148f9dcba8da9aad49cabf97dabbbb3a05764cd3604edbd00ecb56ee0695cd30a67d9d51264539169e400d7bbc478
-Size (byteorder-1.2.2.crate) = 18909 bytes
-SHA1 (bzip2-0.3.2.crate) = b43dd3a09aea1c393301eaf9683a5b43e347be92
-RMD160 (bzip2-0.3.2.crate) = 24993f8cb8466252378c6ca27ae91cbf54d48891
-SHA512 (bzip2-0.3.2.crate) = da7fca72b1a4e476d39fc670fa7f92bc3963c21c19cb6fe4ac878a0dd4d2a72d0795087b3bbeeecd3c600b7ff8e353dd0217c3a17c9594e1ba2a774bb8aa70a4
-Size (bzip2-0.3.2.crate) = 14720 bytes
-SHA1 (bzip2-sys-0.1.6.crate) = 747a9c9cb832a9262c78c7a6f05b27ead2015db1
-RMD160 (bzip2-sys-0.1.6.crate) = 36684d36ba249f60fe8f14c76b4d324a91bc0abb
-SHA512 (bzip2-sys-0.1.6.crate) = d7c69e8eff1b9f1317577ccf0cbaffb6ed284c3f1f6c18db96e2e5380e69a818406107e6bc2634222c2f3ed56c478a1cb9ca58b7b3df29ee4a82e76493533d63
-Size (bzip2-sys-0.1.6.crate) = 609274 bytes
-SHA1 (cc-1.0.9.crate) = d33166dbe3b211e2b3897997138fe327f84e3177
-RMD160 (cc-1.0.9.crate) = 8e0e9abc24d7541b7eedd93e348edc5a9553d9a2
-SHA512 (cc-1.0.9.crate) = 7423164d85ac2d57782b6f259ea7e7e581fd8ecb7f3cfe4f8767c05caaf6e25d8cd73031123b60f0df96b2cd4c265d92a66933b7aaef4aae998cdc0e179618f4



Home | Main Index | Thread Index | Old Index