mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 19:11:57 +02:00
spiderfoot: bump to 3.0 and add new deps
This commit is contained in:
parent
f8de77ef9c
commit
962b3020f3
29 changed files with 476 additions and 8 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST spiderfoot-2.12.0.tar.gz 3974759 BLAKE2B 5d65f760ff165c826e68b6d11205f802c0e917a9ebcdde70e88cf8f1ce2716d7d2fdca1eeacde3b7e30966a6795248b5f7885bc816dddb8eb9bcc48c22bd0ae9 SHA512 5657eecdf68078019dbae490f35ba868483dd92993718b86bdbe819d5fc0c01e226bfadf7e6f0dc900d7f017351bd66e1855ebfb4e6964b5f3b39bd5de34c0dd
|
||||
DIST spiderfoot-3.0.tar.gz 3478605 BLAKE2B dbf6e058f01e768dfef85ddcb059ce5c5e5070adf96dbecdf40ef5e6bbbc99e0f25820ee67d68f59aa55d35d867c8648d70b99981840f07f36ed76db58f284b6 SHA512 abf64b6b819f8535f87237649be677af27aaddc729897eff8d4c27bd441e32862a42f8b84cf61ad3a0b9e1fc940fddf9d2e47d7decfcb62812239c5a9e01850a
|
||||
|
|
|
|||
|
|
@ -0,0 +1,39 @@
|
|||
diff -ur a/sfdb.py b/sfdb.py
|
||||
--- a/sfdb.py 2020-01-26 12:07:43.000000000 +0300
|
||||
+++ b/sfdb.py 2020-02-09 12:29:45.798455148 +0300
|
||||
@@ -13,6 +13,7 @@
|
||||
import sqlite3
|
||||
import re
|
||||
import time
|
||||
+import os
|
||||
from sflib import SpiderFoot
|
||||
|
||||
# SQLite doesn't support regex queries, so we create
|
||||
@@ -236,10 +237,14 @@
|
||||
def __init__(self, opts, init=False):
|
||||
self.sf = SpiderFoot(opts)
|
||||
|
||||
+ DBPATH = str(os.path.expanduser('~') + '/.spiderfoot')
|
||||
+ if not os.path.exists(DBPATH):
|
||||
+ os.makedirs(os.path.join(DBPATH))
|
||||
+
|
||||
# connect() will create the database file if it doesn't exist, but
|
||||
# at least we can use this opportunity to ensure we have permissions to
|
||||
# read and write to such a file.
|
||||
- dbh = sqlite3.connect(self.sf.myPath() + "/" + opts['__database'], timeout=10)
|
||||
+ dbh = sqlite3.connect(DBPATH + "/" + opts['__database'], timeout=10)
|
||||
if dbh is None:
|
||||
self.sf.fatal("Could not connect to internal database, and couldn't create " + opts['__database'])
|
||||
dbh.text_factory = str
|
||||
diff -ur a/sflib.py b/sflib.py
|
||||
--- a/sflib.py 2020-01-26 12:07:43.000000000 +0300
|
||||
+++ b/sflib.py 2020-02-09 13:13:14.245760579 +0300
|
||||
@@ -414,7 +414,7 @@
|
||||
|
||||
# Return the cache path
|
||||
def cachePath(self):
|
||||
- path = self.myPath() + '/cache'
|
||||
+ path = str(os.path.expanduser('~') + '/.spiderfoot' + '/cache')
|
||||
if not os.path.isdir(path):
|
||||
os.mkdir(path)
|
||||
return path
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
From 7388d4cd0d271134f3d4c1fe83baa63d533a7de8 Mon Sep 17 00:00:00 2001
|
||||
From: smicallef <steve@binarypool.com>
|
||||
Date: Sun, 2 Feb 2020 09:20:16 +0100
|
||||
Subject: [PATCH] Bug fix.
|
||||
|
||||
---
|
||||
modules/sfp_hackertarget.py | 14 ++++++++------
|
||||
1 file changed, 8 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/modules/sfp_hackertarget.py b/modules/sfp_hackertarget.py
|
||||
index 4dfe7896..ab003177 100644
|
||||
--- a/modules/sfp_hackertarget.py
|
||||
+++ b/modules/sfp_hackertarget.py
|
||||
@@ -319,14 +319,16 @@ def handleEvent(self, event):
|
||||
|
||||
if self.opts.get('udp_portscan', True):
|
||||
udp_ports = self.portScanUDP(ip)
|
||||
- for port in udp_ports:
|
||||
- e = SpiderFootEvent("UDP_PORT_OPEN", ip + ":" + port, self.__name__, event)
|
||||
- self.notifyListeners(e)
|
||||
+ if udp_ports:
|
||||
+ for port in udp_ports:
|
||||
+ e = SpiderFootEvent("UDP_PORT_OPEN", ip + ":" + port, self.__name__, event)
|
||||
+ self.notifyListeners(e)
|
||||
|
||||
if self.opts.get('tcp_portscan', True):
|
||||
tcp_ports = self.portScanTCP(ip)
|
||||
- for port in tcp_ports:
|
||||
- e = SpiderFootEvent("TCP_PORT_OPEN", ip + ":" + port, self.__name__, event)
|
||||
- self.notifyListeners(e)
|
||||
+ if tcp_ports:
|
||||
+ for port in tcp_ports:
|
||||
+ e = SpiderFootEvent("TCP_PORT_OPEN", ip + ":" + port, self.__name__, event)
|
||||
+ self.notifyListeners(e)
|
||||
|
||||
# End of sfp_hackertarget class
|
||||
13
app-forensics/spiderfoot/files/spiderfoot-daemon.confd-r1
Normal file
13
app-forensics/spiderfoot/files/spiderfoot-daemon.confd-r1
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# /etc/conf.d/spiderfoot-daemon: config file for /etc/init.d/spiderfoot-daemon
|
||||
|
||||
# Address and port service will listen on
|
||||
# Default: 127.0.0.1
|
||||
#SF_HOST="127.0.0.1"
|
||||
# Default: 5001
|
||||
#SF_PORT="5001"
|
||||
|
||||
# Path to log file (needs to be absolute path)
|
||||
#SF_LOGFILE="/var/log/spiderfoot-daemon.log"
|
||||
|
||||
# See more: sf --help
|
||||
#SF_ARGS="-d"
|
||||
37
app-forensics/spiderfoot/files/spiderfoot-daemon.initd-r1
Normal file
37
app-forensics/spiderfoot/files/spiderfoot-daemon.initd-r1
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
SF_LOGFILE="${SF_LOGFILE:-/var/log/${RC_SVCNAME}.log}"
|
||||
|
||||
USER="spiderfoot"
|
||||
GROUP="spiderfoot"
|
||||
|
||||
description="The most complete OSINT collection and reconnaissance tool"
|
||||
command="/usr/bin/sf"
|
||||
command_background=true
|
||||
command_user="${USER}:${GROUP}"
|
||||
command_args="-l ${SF_HOST:-127.0.0.1}:${SF_PORT:-5001} ${SF_ARGS}"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
start_stop_daemon_args="--quiet -1 ${SF_LOGFILE}"
|
||||
retry="${SF_TERMTIMEOUT:-"TERM/25/KILL/5"}"
|
||||
extra_commands="checkconfig"
|
||||
|
||||
depend() {
|
||||
after net
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if ! [ -f "${SF_LOGFILE}" ]; then
|
||||
touch "${SF_LOGFILE}" \
|
||||
&& chmod 0660 "${SF_LOGFILE}" \
|
||||
&& chown ${USER}:${GROUP} "${SF_LOGFILE}" > /dev/null 2>&1 \
|
||||
|| eerror "Failed to create: ${SF_LOGFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig || return 1
|
||||
}
|
||||
|
||||
# vim: set ft=gentoo-init-d ts=4 :
|
||||
100
app-forensics/spiderfoot/spiderfoot-3.0.ebuild
Normal file
100
app-forensics/spiderfoot/spiderfoot-3.0.ebuild
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
PYTHON_REQ_USE="sqlite,ssl,readline"
|
||||
|
||||
inherit eutils python-single-r1 user
|
||||
|
||||
DESCRIPTION="The most complete OSINT collection and reconnaissance tool"
|
||||
HOMEPAGE="https://www.spiderfoot.net"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/smicallef/spiderfoot"
|
||||
else
|
||||
SRC_URI="https://github.com/smicallef/spiderfoot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/adblockparser[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
>=dev-python/cherrypy-17.4.1[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
>=dev-python/dnspython-1.16.0[${PYTHON_USEDEP}]
|
||||
dev-python/exifread[${PYTHON_USEDEP}]
|
||||
dev-python/future[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipaddr-2.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/ipwhois[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/m2crypto[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
|
||||
dev-python/networkx[${PYTHON_USEDEP}]
|
||||
>=dev-python/PySocks-1.7.1[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/phonenumbers[${PYTHON_USEDEP}]
|
||||
dev-python/pygexf[${PYTHON_USEDEP}]
|
||||
dev-python/PyPDF2[${PYTHON_USEDEP}]
|
||||
dev-python/python-secure[${PYTHON_USEDEP}]
|
||||
dev-python/python-whois[${PYTHON_USEDEP}]
|
||||
dev-python/python-docx[${PYTHON_USEDEP}]
|
||||
dev-python/python-pptx[${PYTHON_USEDEP}]
|
||||
>=net-libs/stem-1.7.1[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}_fix_module_bug_sfp_hackertarget.patch"
|
||||
"${FILESDIR}/${P}_add_support_user_homedir.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins -r dicts/ dyn/ modules/ static/ *.py
|
||||
|
||||
for x in sf sfcli; do
|
||||
make_wrapper $x \
|
||||
"${EPYTHON} /usr/share/${PN}/${x}.py" \
|
||||
"/usr/share/${PN}/"
|
||||
done
|
||||
|
||||
dosym ./sf /usr/bin/${PN}
|
||||
dosym ./sfcli /usr/bin/${PN}-cli
|
||||
|
||||
keepdir /var/lib/${PN}
|
||||
fowners ${PN}:${PN} /var/lib/${PN}
|
||||
|
||||
newinitd "${FILESDIR}"/spiderfoot-daemon.initd-r1 spiderfoot-daemon
|
||||
newconfd "${FILESDIR}"/spiderfoot-daemon.confd-r1 spiderfoot-daemon
|
||||
|
||||
dodoc *.md Dockerfile
|
||||
|
||||
python_optimize "${D}"/usr/share/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "\nJust run:"
|
||||
elog " ~# rc-service spiderfoot-daemon start"
|
||||
elog "and open in browser http://127.0.0.1:5001\n"
|
||||
|
||||
elog "See documentation: https://www.spiderfoot.net/documentation/\n"
|
||||
}
|
||||
1
dev-python/adblockparser/Manifest
Normal file
1
dev-python/adblockparser/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST adblockparser-0.7.tar.gz 12919 BLAKE2B 66c7a10dcb6853e66bec6a580db49582385bab6d7d928c7671469e669cc8636e76fd6c23882df981130eb2709a8e17a1fd4e4f5bf2034cbc4df6e834863bc6bc SHA512 93fc90a08026737f889beec142264b27dae1ccf1f8b6123f072d4f4ef6cb6e595ab045a6bdd3f905ca1f176696b6a4eb6c197232e81ce953f3bdcd7aec69cd78
|
||||
22
dev-python/adblockparser/adblockparser-0.7.ebuild
Normal file
22
dev-python/adblockparser/adblockparser-0.7.ebuild
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Parser for Adblock Plus rules"
|
||||
HOMEPAGE="https://github.com/scrapinghub/adblockparser"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
8
dev-python/adblockparser/metadata.xml
Normal file
8
dev-python/adblockparser/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
1
dev-python/exifread/Manifest
Normal file
1
dev-python/exifread/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST exifread-2.2.0.tar.gz 35326 BLAKE2B 858e2afe0ce0183cba5f75bbb9fed1fc835edf01cc133a1450080f34b9495e67dfb77d42a4b02c4aff32c8890f979d48de3efd669c1260555b29f162ff7c08b8 SHA512 a1e6b27e7092ef8ce8c1a6c5fe095f0641ff942aa4bcd2a9f96eda688fe8cf7544bd6b9e48b4b29586906dac95ed717578de6b8bb691d8a4a1864992da0e00f5
|
||||
20
dev-python/exifread/exifread-2.2.0.ebuild
Normal file
20
dev-python/exifread/exifread-2.2.0.ebuild
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Read Exif metadata from tiff and jpeg files"
|
||||
HOMEPAGE="https://github.com/ianare/exif-py"
|
||||
SRC_URI="https://github.com/ianare/exif-py/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/exif-py-${PV}"
|
||||
8
dev-python/exifread/metadata.xml
Normal file
8
dev-python/exifread/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
1
dev-python/ipwhois/Manifest
Normal file
1
dev-python/ipwhois/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST ipwhois-1.0.0.tar.gz 131837 BLAKE2B 9eed0f646a55a5cda01776afdc62890591ddaf3f04873b4127ade6f0e7ed02efa44d78ceb64ec0153bd423be70dd490ddaa50c910a3f0833d21af1452b120476 SHA512 b8197e67d4ff4cbfae3d9327f231ea0c3c0698d59fe688e1454bc0f469d1a671f6dbaeaf6e5c57c087bea2ab90139673d9bc3b5bd6350d167febeb4f6da5a5ab
|
||||
21
dev-python/ipwhois/ipwhois-1.0.0.ebuild
Normal file
21
dev-python/ipwhois/ipwhois-1.0.0.ebuild
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Retrieve and parse whois data for IPv4 and IPv6 addresses"
|
||||
HOMEPAGE="https://github.com/secynic/ipwhois"
|
||||
SRC_URI="https://github.com/secynic/ipwhois/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
||||
dev-python/ipaddr[${PYTHON_USEDEP}]
|
||||
virtual/python-ipaddress[${PYTHON_USEDEP}]"
|
||||
8
dev-python/ipwhois/metadata.xml
Normal file
8
dev-python/ipwhois/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
|
|
@ -1,19 +1,21 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python library to generate gexf file format"
|
||||
HOMEPAGE="https://github.com/paulgirard/pygexf"
|
||||
SRC_URI="https://github.com/paulgirard/pygexf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
|
|
|
|||
1
dev-python/python-docx/Manifest
Normal file
1
dev-python/python-docx/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST python-docx-0.8.10.tar.gz 5531674 BLAKE2B 9d49c04f2f76d08d9bb02f448cb13c53d13573e5529773cf2c2aeb90cd7c9bf3daed676a3c4a4c69541da774370a4062728490a4fcca947eba87202090f3a66d SHA512 96c9212e2b2d6a81832e4026490f97d545fbd2572a6f7e9f201c76a83cd5f89d0284193c8f71daa61b748e3da889ec4afc7459f2c237acfb5bc47475f8abe4ae
|
||||
8
dev-python/python-docx/metadata.xml
Normal file
8
dev-python/python-docx/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
29
dev-python/python-docx/python-docx-0.8.10.ebuild
Normal file
29
dev-python/python-docx/python-docx-0.8.10.ebuild
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Create and modify Word documents with Python"
|
||||
HOMEPAGE="https://github.com/python-openxml/python-docx"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
1
dev-python/python-pptx/Manifest
Normal file
1
dev-python/python-pptx/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST python-pptx-0.6.18.tar.gz 8909539 BLAKE2B dce05b3f74517983b5a2e29ece9426a01311f16a93792951a8e5f954ffbbf4d227da777a3a9086b788aa04d69023c7b42bcfb7324fe5d63ae90db959cd10f7da SHA512 0bd5bd8ce9c8b54884db65a0e7f6efe737d79a8d2f20c5d2d13eaca9c4f5432d47dbaa927c09f7afa8248f2c779ddc311814573f673f0c60b58ff12bd9d2d65c
|
||||
8
dev-python/python-pptx/metadata.xml
Normal file
8
dev-python/python-pptx/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
31
dev-python/python-pptx/python-pptx-0.6.18.ebuild
Normal file
31
dev-python/python-pptx/python-pptx-0.6.18.ebuild
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Create Open XML PowerPoint documents in Python"
|
||||
HOMEPAGE="https://github.com/scanny/python-pptx"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/xlsxwriter[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
1
dev-python/python-secure/Manifest
Normal file
1
dev-python/python-secure/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST secure-0.2.1.tar.gz 10382 BLAKE2B a475b5df15833a0b5e6c4727689be0f294d2ef5f61dc9bdb83738a81b8725753553610eb0d081e336266a3e53924731de88a6f274211873a23a4e0e310a0ebfb SHA512 17a2480fccb6cce73e95ab31bbf42fd9a75a74916f8806572263374dd7631d13088f72b0db98f7c3fbe6a999c4a004173dd0c89c3f9bc366f5c4658bb2c66bfd
|
||||
8
dev-python/python-secure/metadata.xml
Normal file
8
dev-python/python-secure/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
24
dev-python/python-secure/python-secure-0.2.1.ebuild
Normal file
24
dev-python/python-secure/python-secure-0.2.1.ebuild
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
MY_PN="${PN#python-}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Secure headers and cookies for Python web frameworks"
|
||||
HOMEPAGE="https://github.com/TypeError/secure.py"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/python-enum34[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
1
dev-python/python-whois/Manifest
Normal file
1
dev-python/python-whois/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST python-whois-0.7.2.tar.gz 90030 BLAKE2B e851e45ca0f342c89fdf8e48bfa3972d64db2b8a9e74985d07006ad2ec1deefc430068b25334c3cbde5f5f38e0f1acc69116b94fdf041d97a0cf4795b34de756 SHA512 9f0b0ceedac13b8c4f51389063096819b6aef2b3454c297ca7497dbe78800447e39f61e42fefec84994070ef0d10d75a4342d99a9dc5d76b711b21da0e76f1b6
|
||||
8
dev-python/python-whois/metadata.xml
Normal file
8
dev-python/python-whois/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
30
dev-python/python-whois/python-whois-0.7.2.ebuild
Normal file
30
dev-python/python-whois/python-whois-0.7.2.ebuild
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Whois querying and parsing of domain registration information"
|
||||
HOMEPAGE="https://github.com/richardpenman/pywhois"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
test? (
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
Loading…
Reference in a new issue