libvshadow-20210425.ebuild with deps

This commit is contained in:
Anton Bolshakov 2021-06-13 09:17:05 +08:00
parent ad5698639a
commit e3dc00595f
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
7 changed files with 159 additions and 2 deletions

View file

@ -1,2 +1,3 @@
DIST libvshadow-alpha-20191221.tar.gz 1445958 BLAKE2B a5dec2e41edb893d5cc7510a021db34f267b725c90993b7f867e58a0a630dbf61566e2bd248b463ccd68a1c402b20a69e6ea1d2441d95f2534578e22f6b32ffb SHA512 745d8916bb5d935207f2dd77a5fbd73ea4527ab16f75a44a17d8a2014a0d942fdf6f9937d7de752d78c598a419d5a05580afba1701ef836691e565510d32b62e DIST libvshadow-alpha-20191221.tar.gz 1445958 BLAKE2B a5dec2e41edb893d5cc7510a021db34f267b725c90993b7f867e58a0a630dbf61566e2bd248b463ccd68a1c402b20a69e6ea1d2441d95f2534578e22f6b32ffb SHA512 745d8916bb5d935207f2dd77a5fbd73ea4527ab16f75a44a17d8a2014a0d942fdf6f9937d7de752d78c598a419d5a05580afba1701ef836691e565510d32b62e
DIST libvshadow-alpha-20201222.tar.gz 1502469 BLAKE2B 039ab2c22b82125749d26b3b09fc819ccf4718634d4559c67c61fa11dce60f62f7e7be5a97a5545e575baa1e0a6972fa0d9b6fd776449a5a54c151eb3fbabec0 SHA512 7f7f6282704f87277ddb4168cea4fe95ab856f53a0652d3c80fab1e3cc8c98846f5403c1d9a1b74529a15e71544ad3be538c766ddea8e42f30253032acaf3251 DIST libvshadow-alpha-20201222.tar.gz 1502469 BLAKE2B 039ab2c22b82125749d26b3b09fc819ccf4718634d4559c67c61fa11dce60f62f7e7be5a97a5545e575baa1e0a6972fa0d9b6fd776449a5a54c151eb3fbabec0 SHA512 7f7f6282704f87277ddb4168cea4fe95ab856f53a0652d3c80fab1e3cc8c98846f5403c1d9a1b74529a15e71544ad3be538c766ddea8e42f30253032acaf3251
DIST libvshadow-alpha-20210425.tar.gz 1502225 BLAKE2B 3d8879561885b241a8b8b1553de2b091b4ab1d56134549da1e23b0ab476abcd24c37d5c359127d4a5296c848c9baa28202d52cd18d21236c2fb0e238553ed453 SHA512 0d44929da5f795d461632b6177ba754a5968c1e351216c36c82bac71704f4a02d8513ced7aa34b9f051e844466816e38bd5c02e59977922dfd299a7996e793b8

View file

@ -0,0 +1,72 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit python-single-r1 eutils autotools
DESCRIPTION="Library and tools to support the Volume Shadow Snapshot (VSS) format."
HOMEPAGE="https://github.com/libyal/libvshadow"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#unicode: https://github.com/libyal/libvshadow/issues/17
IUSE="debug python nls unicode"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="nls? ( virtual/libintl
virtual/libiconv
)
python? ( dev-lang/python:* )
sys-fs/fuse:*
app-forensics/libbfio
>=dev-libs/libcdata-20190112
dev-libs/libcerror
dev-libs/libcfile
dev-libs/libclocale
dev-libs/libcnotify
dev-libs/libcpath
dev-libs/libcsplit
dev-libs/libcthreads
dev-libs/libfdatetime
dev-libs/libfguid
dev-libs/libuna
"
RDEPEND="${DEPEND}
python? ( ${PYTHON_DEPS} )
sys-fs/fuse"
src_prepare() {
#upstream does not support its own shared libraries, let's fix that
eapply "${FILESDIR}/${PN}"_2019_autoconfig.patch
#workaround, see https://github.com/libyal/libvshadow/issues/10
# echo "#define HAVE_ERRNO_H 1" >> common/config.h.in
#makefile was created with 1.16, let's regenerate it
eautoreconf
eapply_user
}
src_configure() {
econf $(use_enable python) \
$(use_enable python python3) \
$(use_enable unicode wide-character-type) \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output)
# \
# --with-libcdata --with-libcerror --with-libcfile \
# --with-libclocale --with-libcnotify --with-libcpath \
# --with-libcsplit --with-libcthreads --with-libfdatetime \
# --with-libfguid --with-libuna
}

View file

@ -1,2 +1,3 @@
DIST libclocale-alpha-20200428.tar.gz 512992 BLAKE2B 98109f1099c6b3c7e92477122b94252b41c3ad2086d7dddd38f5801afb0cd17ffb7d5588cb95ffbacbdb2fc22bd30241367b3e94452b3dceba45f8e455b8b24f SHA512 ed21856391ac8b2b2bd8b77b2d919dce2ea1014e1dfe9a3d835e395a482f64c706ea7b7d4ab615a384c696d5e8e52b54bc92d4eb51c83450f7bd739a41755350 DIST libclocale-alpha-20200428.tar.gz 512992 BLAKE2B 98109f1099c6b3c7e92477122b94252b41c3ad2086d7dddd38f5801afb0cd17ffb7d5588cb95ffbacbdb2fc22bd30241367b3e94452b3dceba45f8e455b8b24f SHA512 ed21856391ac8b2b2bd8b77b2d919dce2ea1014e1dfe9a3d835e395a482f64c706ea7b7d4ab615a384c696d5e8e52b54bc92d4eb51c83450f7bd739a41755350
DIST libclocale-alpha-20200913.tar.gz 512711 BLAKE2B 196402ff876ae2f48c4bc470dd2f52e0972ebbdb500939d40795004f1018ef83dcae11832a5f47adbe3d9dbed25fcecf78f3d3626cb3f3bb5bfb3663a4695f15 SHA512 5476ca1b1ba19b10ba7078931f26562aaa6292e45a762f267c4da5f2e8b3f96031330fae6dedb0076d73dbee65b62f836744346255e530f5c542b56bd2d79613 DIST libclocale-alpha-20200913.tar.gz 512711 BLAKE2B 196402ff876ae2f48c4bc470dd2f52e0972ebbdb500939d40795004f1018ef83dcae11832a5f47adbe3d9dbed25fcecf78f3d3626cb3f3bb5bfb3663a4695f15 SHA512 5476ca1b1ba19b10ba7078931f26562aaa6292e45a762f267c4da5f2e8b3f96031330fae6dedb0076d73dbee65b62f836744346255e530f5c542b56bd2d79613
DIST libclocale-alpha-20210526.tar.gz 513701 BLAKE2B 7af9c4970520408baf1e810eead458a1df708c1eed960ba3aaf7ad0365d6f076a7df6e406ca69c5cd309a4e3e312970a03592dff4539e2a08f3a0b640798a134 SHA512 76c7e808435e6226510467692a3261ca0edfeca0a8c8fef41727864cc46dc41f89286310a0fee4809ea1cba53a713cbf664ea4d21c9131e8c45106b2134ab926

View file

@ -0,0 +1,27 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Library for cross-platform C locale functions"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="nls unicode"
DEPEND="dev-libs/libcerror
nls? ( virtual/libiconv
virtual/libintl )"
RDEPEND="${DEPEND}"
src_configure() {
econf $(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable unicode wide-character-type)
# \
# --with-libcerror
}

View file

@ -1 +1,2 @@
DIST libfwnt-alpha-20200723.tar.gz 1085871 BLAKE2B 88ebeb9e2b9a0d3e562c7c364f76517b402df21b5cd941c3e5130f18c8d48cbe41dbc501cbf68b44f0ea15a6dccee2b38a4c2e4556213ef871b8aeefbb3a2250 SHA512 db2454a4da3d0613b3931da1db8808974bcafec32d4f7c4b72b8ef58b8a28283ce27544f6da7a8c5d0f4851d929d836717e852bcac39979b90aa98014c8d89ca DIST libfwnt-alpha-20200723.tar.gz 1085871 BLAKE2B 88ebeb9e2b9a0d3e562c7c364f76517b402df21b5cd941c3e5130f18c8d48cbe41dbc501cbf68b44f0ea15a6dccee2b38a4c2e4556213ef871b8aeefbb3a2250 SHA512 db2454a4da3d0613b3931da1db8808974bcafec32d4f7c4b72b8ef58b8a28283ce27544f6da7a8c5d0f4851d929d836717e852bcac39979b90aa98014c8d89ca
DIST libfwnt-alpha-20210421.tar.gz 1086509 BLAKE2B 5fa82d30e168d98c0ba920b2b30063064a674c9d6f96879f969d3ac884c9116c0d6a7e455663e4014e83251209012cf3a02639e82dd3e942f7603e3ddcce63fd SHA512 5f7dd9653d4a266ad0e126ee60d98a80930bfe5f81a4707499231e0da8cc1947e7467ec64bc26d7622496582414e001dcaea8be455a48dba99ca21116ae3f550

View file

@ -0,0 +1,56 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit python-r1
DESCRIPTION="Library for Windows NT data types"
HOMEPAGE="https://github.com/libyal/${PN}"
SRC_URI="https://github.com/libyal/${PN}/releases/download/${PV}/${PN}-alpha-${PV}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="debug nls python +threads winapi"
DEPEND="dev-libs/libcdata
dev-libs/libcerror
dev-libs/libcnotify
dev-libs/libcthreads"
RDEPEND="${DEPEND}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
CMAKE_IN_SOURCE_BUILD=1
src_configure() {
local myconf=(
$(use_enable python) \
$(use_enable nls) \
$(use_with nls libiconv-prefix) \
$(use_with nls libintl-prefix) \
$(use_enable debug debug-output) \
$(use_enable debug verbose-output) \
$(use_enable winapi) \
$(use_enable threads multi-threading-support)
# --with-libcdata --with-libcerror \
# --with-libcnotify --with-libcthreads
)
if use python ; then
#todo: make python2 optional
myconf+=( --enable-python2 )
prepare_python() {
if python_is_python3; then
myconf+=( --enable-python3 )
fi
}
python_foreach_impl run_in_build_dir prepare_python
fi
econf ${myconf[@]}
}

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Parse Repology API and display outdated packages in Pentoo """ Find the latest releases of lybyal* using Github API
""" """
import json import json
@ -62,7 +62,6 @@ def load_api( package ):
json_data = json.loads(response.text) json_data = json.loads(response.text)
def main(): def main():
for package in project_packages: for package in project_packages:
load_api(package) load_api(package)
print("package: ", package, "-", json_data[0]["name"]) print("package: ", package, "-", json_data[0]["name"])