python: remove old targets

This commit is contained in:
blshkv 2021-01-16 08:45:01 +08:00
parent d6e1f421b9
commit 05bf79abeb
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
18 changed files with 88 additions and 86 deletions

View file

@ -1,3 +1,2 @@
DIST yubioath-desktop-5.0.1.tar.gz 4847220 BLAKE2B 987145338b934a49236325a6fe5c7ad1bc996d09ef29da66681bc3cc9c59ef7ca34d009015e974c256cc5dcdc5cc3e898f0eef246ed8ae2add308fd411386e7b SHA512 e1d8749641a59726d73547a4eb219162d0d654fbbf04f1d6302bc5c097ccde69f15f39b16b631ee8e4d19fab0cf1b01130f5afe3e1b2905103f676c6db7070e8
DIST yubioath-desktop-5.0.3.tar.gz 5823662 BLAKE2B f8ba37f3fe29f3cfff5d80ed994c2ed789043f5e414786a1b4a9867f3ab8879eb3e22343fac95480e1e953728869901b69cf270b9f6a809aee91c684ea6f3542 SHA512 f99fd8882c19dd153aa5179c01c8a45bc5d33816dabc4fe1322508214a80698801796be1d390ddd9e30cc981282d6c62c5be6fdc48a5ac4767475c055a062447
DIST yubioath-desktop-5.0.4.tar.gz 5657338 BLAKE2B 7fc3ebbd371c3342b0b6c01b795bcb673bafcc9f2228bbc3d4f644962177f5e3c321b88be20cd1de15d385a8cb8908b185648207483845bab39fedd59f31a406 SHA512 a10c7f4fb137683183ed5aaca0e996193686857edc2a6a2b86e7bc4257971a747b48aa19cfd72162ea9557d375d080bae0ed26bdfa33c07ed60f8b67572f10a3

View file

@ -1,71 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit eutils desktop python-single-r1 qmake-utils xdg-utils
DESCRIPTION="Library and tool for personalization of Yubico's YubiKey NEO"
HOMEPAGE="https://developers.yubico.com/yubioath-desktop/ https://github.com/Yubico/yubioath-desktop"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Yubico/yubioath-desktop"
else
SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${P}"
fi
SLOT="0"
LICENSE="BSD-2"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtquickcontrols2:5
dev-qt/qtdeclarative:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
x11-libs/libdrm"
RDEPEND="${DEPEND}
$(python_gen_cond_dep '>=app-crypt/yubikey-manager-2.1.1[${PYTHON_MULTI_USEDEP}]')
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]"
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
sed -i \
-e "s:python build_qrc.py:${PYTHON} build_qrc.py:" \
$(qmake-utils_find_pro_file) || die
python_fix_shebang "${S}"
default
}
src_configure() {
eqmake5 $(qmake-utils_find_pro_file)
}
src_install() {
emake INSTALL_ROOT="${D}" install
domenu resources/yubioath-desktop.desktop
doicon resources/icons/yubioath.png
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1

View file

@ -1 +1,2 @@
DIST cipherscan-20190726.tar.gz 13388732 BLAKE2B 98370c242648b8e9aa8183dd354c380d7470b571dae0b6aad60fde849b86d0a1ec80dbb3b55bb0a9ef22481b5ba7056f956e1fe9f0db17bfb38e8e8006b2a53c SHA512 70e293b479cdd598b7628cc86bdc0b41f18db0cdffc923d063f5b093276a555d169e6531a0ae03dd08b83f98a6748a87f1f0a9da36e48e8d461393151b682dc0
DIST cipherscan-20200312.tar.gz 13388777 BLAKE2B bc4254f6679d76ccb4b8857739841c8fa275cb46c42cf34eec37a95f315d212888a8c27afb1d2c61a1d3208c218733ff7014b87939c491571670457d59dabe8e SHA512 929f3e2482f1f392d3e1315d3f90dc1de466e0364963ec57f1a4d3423991b6a6e8427d21e534a6b6397a38a3435145e6009cb73c568fc2cdaedce87779e38898

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{7..9} )
EGO_PN=github.com/mozilla/${PN}
inherit eutils python-single-r1

View file

@ -0,0 +1,74 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{7..9} )
EGO_PN=github.com/mozilla/${PN}
inherit eutils python-single-r1
DESCRIPTION="A very simple way to find out which SSL ciphersuites are supported by a target"
HOMEPAGE="https://github.com/mozilla/cipherscan"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mozilla/cipherscan.git"
KEYWORDS=""
else
KEYWORDS="~amd64 ~x86"
HASH_COMMIT="885b34593035c73d1fd2dd6ca1a42e211932fee0"
SRC_URI="https://${EGO_PN}/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="MPL-2.0"
SLOT="0"
# cipherscan depends on dev-python/tlslite-ng, not dev-python/tlslite.
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep '
!dev-python/tlslite[${PYTHON_MULTI_USEDEP}]
dev-python/tlslite-ng[${PYTHON_MULTI_USEDEP}]
dev-python/ecdsa[${PYTHON_MULTI_USEDEP}]
')"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
QA_PREBUILT="/usr/share/${PN}/openssl"
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
default
# Dirty hack to actually add a shebang to the file, so that we can then fix
# it using python_fix_shebang. Without a shebang, python_fix_shebang won't
# even work.
sed -i '1i#!/usr/bin/env python' cscan.py || die
python_fix_shebang "${S}"
# We don't want cipherscan pulling in the latest and greatest
# dev-python/tlslite and dev-python/ecdsa using GitHub. We fixed its
# dependencies in RDEPEND.
sed -e 's|\$DIRNAMEPATH/cscan.sh|$DIRNAMEPATH/cscan.py|' -i ${PN} || die "sed for ${PN} failed"
sed -e 's|import .messages|import cscan.messages|' -i cscan/*.py
}
src_install(){
insinto /usr/share/${PN}
doins -r *
fperms 0755 "/usr/share/${PN}/${PN}"
fperms 0755 "/usr/share/${PN}/cscan.py"
python_optimize "${D}usr/share/${PN}"
# cipherscan needs to be run from its installation directory.
make_wrapper $PN \
"/usr/share/${PN}/${PN}"
dodoc README.md
}

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="c23814961d71ab6508c855db3c643b71d8990e8c"

View file

@ -1,3 +1,2 @@
DIST liteeth-20180301.zip 246584 BLAKE2B 3179195b067782438ac2e7fcd8c19d725e311d1e4f2d734d3e5ff671aecc29eaf135e438d490ebb1f8dbda5352a12d206e21228c469d658901713d060185c3b4 SHA512 12e59f4f2603e07533d90bdfa96bf25b6ba3ff7719da24b0524e3729abb47f977c576f7584e23f417f19b3e91e7b6c844563b7ec1208abfa4dd2c8834819c85c
DIST liteeth-20180718.zip 256025 BLAKE2B ac7c6595f5b75a366d35f79116d71388cc13858b7be173c8a2f260ab6cce79afddf40189745e28f6ed6eb96758ead22c10920433a3ebbf47021b95beb5fa7cfc SHA512 e9b854a145393f579e77c1a10c74078dd40633bf85eaead8924d5d4bae50615bec26da4c8825a70192b167764491e1d1062c3adf9c26403777ac879cc942b5b3
DIST liteeth-20180719.zip 256039 BLAKE2B b0c1686fd78a348a868275ac46e82a5fdf685743aedc8c39826c472d9add7b87bc4845e2d59ff208544f7787155c1a7d49f9d5f3b499a508d074be6a53b952be SHA512 7378400faaa9aca800a444768e461b9c62989a28238bdf6a3f5d2cd96bef3418835047691f1498cf7289628b283187d58ee50d2be1ada116a273737970cdd77f

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="95849a0fed26c2f7e88e731e8ba7cb6b95d873e8"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="24b0d2b8c2cfcf96a8c6cb56ec01af9a56952aad"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="93233fe196e8b7063c2293de440976497e4f6dd9"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="d919f90cf6eb615b524fa0e74c5a9b15096603aa"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="23d6a6840d4276f8d1a7f31bafb8d0aaaecff6d1"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="c534250c43791612da2a03c1c93f992115d11f8c"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_COMMIT="c314193cc9de483142a65d81ee1517a703bd1851"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A Python toolbox for building complex digital hardware"

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit python-single-r1
MY_COMMIT="950e56b091504d45ad17ee46ccb4d3950c182d42"