Merge remote-tracking branch 'upstream/master' into master

This commit is contained in:
Andreas Westman Dorcsak 2020-09-12 07:24:56 +02:00
commit 1d6ab5343f
6 changed files with 174 additions and 0 deletions

View File

@ -5,3 +5,4 @@ DIST vscodium-bin-1.43.2.tar.gz 90575258 BLAKE2B 1432faa9aa3a66f83c3bdf2bcffae3c
DIST vscodium-bin-1.44.0.tar.gz 90738217 BLAKE2B 213703df0984bbc35914248920cb39d5cbd900239986ffc956918820405279b05f529cb8562a6e8f8532391ba6d4a027f0f3014c9d84d8cb701b90b055bdd74b SHA512 c5a5be360c34f4e6a3d43317989570b7181a421ec9dc3d10416d589d461303dee0a870dd76fc5487f670bb5f62915c84362e8054d61c2f8f82479a0296ebc046
DIST vscodium-bin-1.44.1.tar.gz 90736532 BLAKE2B ac0ce5d0e1ec8adce9fb665ca9782a623bb0a90ff302439612a3f09a96f86bdea4b85e4eaae60a3d432a37b9e0717925e2e6768a747108b2c788effa94ee29b9 SHA512 692b5e00cf2ec29f24e0da6cbdf1def11051299a460611cd8fd46f85be55e9a5cf45b70617b5cc8b037bd3c158984a609b107360ed2055957869c68ba9787e47
DIST vscodium-bin-1.44.2.tar.gz 90734547 BLAKE2B 7800f11dfb0bdd9ce1b85ad17960902be363efa816b8ff9f923f3ff31b557c3e61ad8dbb3eab28ac0e8deb9e892719ac17dc33bbe34b1add2b920e11a6f70388 SHA512 aa681bf4fa5f571349d50be85d1c4b75c57d369a14c4c1a9827d90d36e189f2aee72f02a6b0a4aba0973cb9937c02d66a34398c820f4bd13b8b41c653badf9f9
DIST vscodium-bin-1.49.0.tar.gz 97489317 BLAKE2B 0ccc3b703688166420646453d77409e188197c0b52ac8df0be5ccc6a894607502927a34664ce0fb86f1159f7607a45bb8056056e0cd1045f5d8ecbaf34cb7f31 SHA512 93d66adb0e0adbd95d06ac0f0f3356522d95bfce96db9e253b474e5665f4b9228dc719504e8e0ab811b9c1b6a3d8b3a1732181bcb3b2acfe9ed9693c6c0ae3f1

View File

@ -0,0 +1,63 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils xdg
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46:0
>=x11-libs/gtk+-3.0:3
x11-libs/cairo
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
>=net-print/cups-2.0.0
dev-libs/nss
x11-libs/libXScrnSaver
x11-libs/libnotify
libsecret? (
app-crypt/libsecret[crypt]
)
"
QA_PRESTRIPPED="
opt/${PN}/code
"
S="${WORKDIR}"
src_install() {
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin"
dosym "../../opt/${PN}/bin/codium" "/usr/bin/vscodium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
insinto "/usr/share/licenses/${PN}"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@ -0,0 +1,49 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8,9} )
inherit eutils distutils-r1
DESCRIPTION="Check if a given package has new upstream versions"
HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
# web (
# 'Django>=1.4', dev-python/django OK
# 'South>=0.7', None
# 'ansi2html>=0.9.1', dev-python/ansi2html PY
# 'django-annoying>=0.7.6', None
# 'django-auth-ldap>=1.1', dev-python/django-auth-ldap PY
# 'django-celery>=3.0.1', dev-python/celery PY
# 'django-piston>=0.2.3', None
# 'django-recaptcha>=0.0.4', None
# 'django-registration>=0.8', None
# 'matplotlib>=1.1.0', dev-python/matplotlib OK
# 'python-ldap>=2.4.10', dev-python/python-ldap OK
# )
# Right now euscan-ng and euscan can't be both installed on the same system
DEPEND="
!app-portage/euscan-ng
>=dev-python/beautifulsoup-4.8.2[${PYTHON_USEDEP}]
"
RDEPEND="
${DEPEND}
"

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">src_prepare/euscan-ng</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">src_prepare/scripts</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,47 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="scripts"
inherit eutils git-r3
DESCRIPTION="Small scripts from src_prepare group"
HOMEPAGE="https://gitlab.com/src_prepare/scripts"
EGIT_REPO_URI="https://gitlab.com/src_prepare/${MY_PN}.git"
LICENSE="ISC"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="
app-shells/bash:*
"
RDEPEND="
${DEPEND}
"
src_install() {
# Install the docs
for doc in *.md
do
dodoc "${doc}"
done
# Install the scripts
if pushd src
then
local script
for script in *
do
exeinto "/opt/${PN}"
doexe "${script}"
dosym "../../opt/${PN}/${script}" "/usr/bin/src_prepare-${script}"
done
popd
else
die "There is no 'src' directory"
fi
}