python: more cleanups

This commit is contained in:
blshkv 2021-01-16 09:15:37 +08:00
parent 05bf79abeb
commit 44d76d22cf
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
41 changed files with 26 additions and 595 deletions

View file

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_5 python3_6 )
PYTHON_COMPAT=( python3_{7..9} )
inherit eutils python-single-r1
DESCRIPTION="A tool for payloads generation that bypass common anti-virus solutions"

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8,9} )
PYTHON_COMPAT=( python3_{7..9} )
inherit python-r1
DESCRIPTION="A tool to gain Domain Admin rights with a push of a button"

View file

@ -1,3 +1 @@
DIST mat2-0.10.0.tar.gz 5720611 BLAKE2B 3aeb1b5fb1e5b39d5a59e84de48a1fefed8afff31d7ae2827324b9d54eab8a95f28f0e1de94d6c96ba250249531782f4a2cff4a82fdccc85da7382d00294fdaf SHA512 7434365766f5ba893b5b51e852d73af6b1dd562f3804e46b2aa5bf2097694d5465f0ddb5e401b157ed899a86caca2dd405424c5a7c86d66190cefd30eee3ba65
DIST mat2-0.10.1.tar.gz 5780327 BLAKE2B d8ffeb1c10409aa4fb93849e641c13bb65508441fb847db2a46f289becd33a160ac711c3c3fb302bfbacd5704acc9b15876a182916cf3d34bf8bb867836fe6b4 SHA512 ee6ec621b3e98cfcf2f341364f60d853be8aedbee88fd41d2cc97888ba7ee33f7610f165cdf140e0169fbdabd41ecafe80a30dab44dc9f2b1cb501973a8e403a
DIST mat2-0.11.0.tar.gz 10151787 BLAKE2B c55d04fe7d49e8515bc5bc3ebfad4c71ddec670e5efed9855545bc32374661bb92501fb5910a599f27d97a3089a44f983c983cb82572ab153602d38e39682164 SHA512 8396a32b409b83cc4158546f92d458bc8a62e5aabd2c452402ac6185c2efdeff8794a7e1e45a8e39e9eaba31e256a303ca0be38b65fd43f11e7b07d1ea8b2f06

View file

@ -1,66 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8} )
PYTHON_REQ_USE="xml"
inherit desktop distutils-r1 xdg-utils
DESCRIPTION="A handy tool to trash your metadata"
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="dolphin ffmpeg +exif nautilus test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
test? ( exif )"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
app-text/poppler[introspection,cairo]
dev-libs/glib
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
exif? ( media-libs/exiftool )
gnome-base/librsvg:2[introspection]
ffmpeg? ( virtual/ffmpeg )
media-libs/mutagen[${PYTHON_USEDEP}]
nautilus? ( dev-python/nautilus-python )
x11-libs/gdk-pixbuf[introspection,jpeg,tiff]"
python_test() {
"${EPYTHON}" -m unittest discover -v || die
}
python_install_all() {
distutils-r1_python_install_all
if use nautilus; then
insinto /usr/share/nautilus-python/extensions/
doins nautilus/mat2.py
fi
if use dolphin; then
insinto /usr/share/kservices5/ServiceMenus/
doins dolphin/mat2.desktop
fi
doicon -s 512 data/mat2.png
doicon -s scalable data/mat2.svg
doman doc/mat2.1
dodoc *.md doc/*.md
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}

View file

@ -1,66 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_REQ_USE="xml"
inherit desktop distutils-r1 xdg-utils
DESCRIPTION="A handy tool to trash your metadata"
HOMEPAGE="https://0xacab.org/jvoisin/mat2"
SRC_URI="https://0xacab.org/jvoisin/mat2/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
IUSE="dolphin ffmpeg +exif nautilus test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
test? ( exif ffmpeg )"
RESTRICT="!test? ( test )"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
app-text/poppler[introspection,cairo]
dev-libs/glib
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
exif? ( media-libs/exiftool )
gnome-base/librsvg:2[introspection]
ffmpeg? ( virtual/ffmpeg )
media-libs/mutagen[${PYTHON_USEDEP}]
nautilus? ( dev-python/nautilus-python )
x11-libs/gdk-pixbuf[introspection,jpeg,tiff]"
distutils_enable_tests unittest
python_install_all() {
distutils-r1_python_install_all
if use nautilus; then
insinto /usr/share/nautilus-python/extensions/
doins nautilus/mat2.py
fi
if use dolphin; then
insinto /usr/share/kservices5/ServiceMenus/
doins dolphin/mat2.desktop
fi
doicon -s 512 data/mat2.png
doicon -s scalable data/mat2.svg
doman doc/mat2.1
dodoc *.md doc/*.md
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_REQ_USE="xml"
inherit desktop distutils-r1 xdg-utils

View file

@ -1,2 +1 @@
DIST libvhdi-20181227.tar.gz 1434823 BLAKE2B ff51ce4606078612fe32d00e4ebcb87c14c818ab2ead734870475688011fc0768db0ff60c5894d5abbcd21150aa5dd06a3c4dafc4faa6ea25bb1cd2d7d278951 SHA512 7e5f60f13ec37cd5fc030a32db184df66dc4913f221136ba26e70c42190930ea56e13ab2963f9570698e84eddb5caeb5468285a0bce976c7166338296e2a4077
DIST libvhdi-20191221.tar.gz 1452255 BLAKE2B d4c4ab98fd4b047dc9d74ba5f0aae62feef176dd954254e810131d0dff154df07b0e7318f842003084af2738634c6f2dd62576f9cc73b3da87f0861851b8a3a2 SHA512 3a39e6bb2ccd166e6e66ea25cd082051cd467dbfa11deefe67178369b36f6557ee35ecbce5337ac2eae7456cff89ad105e84e278db25501e1dff52cf796b1713

View file

@ -1,45 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the Virtual Hard Disk (VHD) image format"
HOMEPAGE="https://github.com/libyal/libvhdi"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvhdi/releases/download/${MY_PV}/libvhdi-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs"
REQUIRED_USE="static? ( static-libs )"
RDEPEND="${PYTHON_DEPS}
fuse? ( sys-fs/fuse:0=[static-libs?] )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(usex debug "--enable-debug-output --enable-verbose-output") \
$(use_with fuse libfuse) \
$(use_enable unicode wide-character-type) \
$(use_enable static static-executables) \
$(use_enable static-libs static) \
$(use_enable nls) \
$(use_enable python)
}

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
PYTHON_COMPAT=( python3_{7..9} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the Virtual Hard Disk (VHD) image format"

View file

@ -1,2 +1 @@
DIST libvmdk-20191221.tar.gz 1576968 BLAKE2B c145272b3f29308b6d714f70ebd78fcf1257f085ee25234a3dfb0b0c51416d6d16d8e314e795bf6290610c3661cc332d763ac001aa7ec69681299710106949b7 SHA512 fd14760034ada2b01599f6c812b1a94592067bc224495aaae736d81d08629b1904935f43516513ba726d2d04589aa816c17b72a6f9ae035ee0030dba93dce865
DIST libvmdk-20200810.tar.gz 1611036 BLAKE2B b6d3af50ecc23c8b80d0fa855176ab336edf784193a92c6ade9a6c59f17b3fb8fca391ac5b8706b9fd5125c49e6a6463e49b23339657004c14ffa4a8cf32f322 SHA512 fd53a87e5b0d6a8c0f2310268f72d03c762e404df4c2ca2725c183fa76bb1fa27274883bd97014b3f24a32c2f2f82605cdc1c1170567281bdb3c768f4eab1812

View file

@ -1,46 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the VMware Virtual Disk (VMDK) format"
HOMEPAGE="https://github.com/libyal/libvmdk"
MY_PV="${PV%_alpha}"
SRC_URI="https://github.com/libyal/libvmdk/releases/download/${MY_PV}/libvmdk-alpha-${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
LICENSE="LGPL-3"
SLOT="0"
IUSE="debug +fuse unicode python nls static static-libs"
REQUIRED_USE="static? ( static-libs )"
RDEPEND="${PYTHON_DEPS}
fuse? ( sys-fs/fuse:0=[static-libs?] )
sys-libs/zlib"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"/${PN}-${MY_PV}
src_prepare() {
eautoreconf
eapply_user
}
src_configure() {
econf \
$(usex debug "--enable-debug-output --enable-verbose-output") \
$(use_with fuse libfuse) \
$(use_enable unicode wide-character-type) \
$(use_enable static static-executables) \
$(use_enable static-libs static) \
$(use_enable nls) \
$(use_enable python)
}

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
PYTHON_COMPAT=( python3_{7..9} )
inherit autotools python-single-r1
DESCRIPTION="Library and tools to access the VMware Virtual Disk (VMDK) format"

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A hierarchical, easy-to-use, powerful configuration module for Python"

View file

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

View file

@ -3,8 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_PN=NetfilterQueue

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_6 python3_7 )
PYTHON_COMPAT=( python3_{7..9} )
EGO_PN=github.com/Nekmo/${PN}
inherit distutils-r1

View file

@ -3,8 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python3_6 pypy3 )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A simple and pragmatic library which accesses the Neo4j graph database"

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A simple and pragmatic library which accesses the Neo4j graph database"

View file

@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="Pure python implementation of DES and TRIPLE DES encryption algorithm"

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{4,5,6,7} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="Fast javascript parser (based on esprima.js)"

View file

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1

View file

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_6 )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="a python library which helps in using nmap port scanner"

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{4,5,6,7} pypy )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="File transport adapter for Requests"

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{4,5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_PN="ruamel.base"

View file

@ -3,8 +3,8 @@
EAPI=7
PYTHON_COMPAT=( python3_{4,5,6} )
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1
DESCRIPTION="Yet Another SWF Parser."

View file

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

View file

@ -3,8 +3,8 @@
# $Header: $
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
PYTHON_COMPAT=( python3_{7..9} )
inherit git-r3 distutils-r1
DESCRIPTION="Wordpress finger printing tool, retrieve information about the plugins and versions installed"

View file

@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
PYTHON_COMPAT=( python3_{7..9} )
inherit eutils python-r1
DESCRIPTION="Scanning tool which discovers dirs found in javascript files hosted on a website"

View file

@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
PYTHON_COMPAT=( python3_{7..9} )
inherit eutils python-r1
DESCRIPTION="Incredibly fast crawler designed for OSINT"

View file

@ -1,3 +1,2 @@
DIST seafile-7.0.10.tar.gz 707294 BLAKE2B 7f31d09480a7be09c957a79442bc0c952a4b3802fe17d660cb4ae7d157fcb656280751ed5033e399a705fc24c8b0a232e55e5f289792bdb69abec304c85d3473 SHA512 6c5870e75d52f4409fc6f7e3884d3e9208693997b25a6347980a8d164ec6a3348f4b3f5a532f11b9221822aa0ec9125b9d9af8ba7abc4d392cd5b5f602df9289
DIST seafile-7.0.9.tar.gz 706859 BLAKE2B 2cbd12bfdda9c2cc13d38233a56d0d2f52ad04e03bd14c90c6ff086756fb7ab4f63319906030f9a5f4ec2625dbe23b2892c069f2b5d50c6997b23deaf2cb61d7 SHA512 4c87e7a4a6a4cef631cbfbeb1bde3c8c9e0915d5fe4597d5b3a4b8aa15e9650e97b51ee6a3b0bae4d235ec53149dca01aed7acd704da593c97da0a17e352a75d
DIST seafile-8.0.1.tar.gz 731105 BLAKE2B ac4b79112e40196cce2dbc64bb94a852b3f81ea08e0a833d45a297c02f5f66432345647b9a34aef67d8108d16eb5e3648002a070bb556a70be63b8c0314af9bb SHA512 dd6366c06bfa25f16f5d3b2ef83b39b5886e834697891c274a3b4eafec3aabf72858dd4d341452e8d4fb8cd1166d30bb8a783dddb4370c02526e3a00ed9fdb3c

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=(python3_{6,7,8})
PYTHON_COMPAT=( python3_{7..9} )
WANT_AUTOMAKE=1.16
inherit autotools python-single-r1 vala

View file

@ -1,46 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python3_{6,7,8})
WANT_AUTOMAKE=1.16
inherit autotools python-single-r1 vala
DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/"
SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+-with-openssl-exception"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
dev-libs/glib:2
dev-libs/libevent
dev-libs/jansson
sys-libs/zlib
net-misc/curl
dev-libs/openssl
dev-db/sqlite:3"
DEPEND="${RDEPEND}
$(vala_depend)"
src_prepare() {
default
sed -i -e 's/valac /${VALAC} /' lib/Makefile.am || die
eautoreconf
vala_src_prepare
}
src_install() {
default
# Remove unnecessary .la files, as recommended by ltprune.eclass
find "${ED}" -name '*.la' -delete || die
python_fix_shebang "${ED}"/usr/bin
}

View file

@ -3,8 +3,7 @@
EAPI=7
PYTHON_COMPAT=(python3_{6,7,8})
PYTHON_COMPAT=( python3_{7..9} )
WANT_AUTOMAKE=1.16
inherit autotools python-single-r1 vala

View file

@ -19,7 +19,7 @@ java? ( pentoo-extra? ( net-proxy/burpsuite )
net-dns/dnscrypt-proxy
net-misc/proxychains
net-proxy/3proxy
python_targets_python3_6? ( net-proxy/mitmproxy )
net-proxy/mitmproxy
net-proxy/privoxy
net-proxy/redsocks
net-proxy/tsocks

View file

@ -1,4 +0,0 @@
DIST tornado-4.5.3.tar.gz 484221 BLAKE2B 7b3682fa85a7f6ad32351d40993516a3e397b7b0a5de9d807bcd8b2b21325a6170f3670cb13e12aa208b6590313cf165ddf40537dba1fee61fa9d71954265a66 SHA512 c17dd7a3b541c26950d27c8a399ae4fdff1d99d16ff0c5de9871fe2de4c0f797c96712b23b5ed5efdaee06bb251f7def114c83fe6f7f37f344cdac9996d14448
DIST tornado-5.1.tar.gz 516359 BLAKE2B 1ff6e6ced124b7b0df0e476eac555de20e4ac86f01369ee484e33bf5d749c269a81dd11a0b4c8b3169db6fd9f7a1b4e3c3551d46474c53a1fed8e342660c57f9 SHA512 8f45e5bbee5453a4225f05840a9fa80dd574c5a9cac9ec4d787f11c3f86f347c66d39c984a8bbe96dbb41f599e25102f1a3dad1c55b479bebee7d856aaca764a
DIST tornado-6.0.3.tar.gz 482444 BLAKE2B 1dda4baae52034d779879fef507d5764894f4aa054e60b00a2f8a989df4b31b495cbed6397d602e7c19844ea1538988558d5741da91646b64b6dbb8e78d618ed SHA512 2db182da7327fdd32fe76a50726a1285332139972766368c3b3dac5b4d54b4bd452a76062c09d1d158a97ace78b7915d93a29a7a8138499a2e56aee9df461abc
DIST tornado-6.0.4.tar.gz 496204 BLAKE2B 6c092214d03baf5cf7615b780043e2fa40a4ed623b7ca59a2528cc3625ba904b21ef93c528278adedaf83e3b6e5a6311d867833dfe9826637e97918dee6fa334 SHA512 d29d69cf40f8b34fb2c55d81b6ecd9bc7c6fdf644eb4ff35452829510c0d5ec185da0a6067fec3e8afb2bedf9f5f08b06adb0ad53dcab04cb791a75abc304d6e

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">tornado</remote-id>
<remote-id type="github">tornadoweb/tornado</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,54 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_6 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="http://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
RESTRICT="!test? ( test )"
CDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${CDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme
# doc without intersphinx does not build (asyncio error)
#PATCHES=(
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
#)
python_test() {
"${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}"
}
python_install_all() {
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

View file

@ -1,55 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="http://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${CDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme
# doc without intersphinx does not build (asyncio error)
#PATCHES=(
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
#)
python_test() {
local -x ASYNC_TEST_TIMEOUT=60
"${PYTHON}" -m tornado.test.runtests --verbose ||
die "tests failed under ${EPYTHON}"
}
python_install_all() {
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

View file

@ -1,56 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="https://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="examples test"
RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${CDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinxcontrib-asyncio
# doc without intersphinx does not build (asyncio error)
#PATCHES=(
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
#)
python_test() {
local -x ASYNC_TEST_TIMEOUT=60
"${PYTHON}" -m tornado.test.runtests --verbose ||
die "tests failed under ${EPYTHON}"
}
python_install_all() {
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

View file

@ -1,53 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="https://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${CDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme
# doc without intersphinx does not build (asyncio error)
#PATCHES=(
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
#)
python_test() {
"${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}"
}
python_install_all() {
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

View file

@ -1,50 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="https://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="examples test"
RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
"
DEPEND="
test? (
${CDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinxcontrib-asyncio
python_test() {
local -x ASYNC_TEST_TIMEOUT=60
"${PYTHON}" -m tornado.test.runtests --verbose ||
die "tests failed under ${EPYTHON}"
}
python_install_all() {
if use examples; then
docinto examples
dodoc -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}