Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence Amer authored Aug 25, 2018
1 parent 0a6d20b commit 7205c7b
Show file tree
Hide file tree
Showing 42 changed files with 817 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/django-guardian/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST django-guardian-1.4.3.tar.gz 145045 SHA256 12d94993b832c221702e2deb3ae0e168f1bcb16d80f7e69a584e080f20a35263 SHA512 7a90cd19947c27fb8afde2c96e140d15bc319cdb1164a13c5b3abd494d0c6af80ca75914c4c6e914629ad596cfe95d880ccecbfbb6f5e32a34bbf9a85ddcd6c6 WHIRLPOOL 8b54708f7a1b18cc628e99760e56f212067a3cca7f36056ce63b6cd1eb8354322236d107d1adb12fb95064f8f0d035fdd3445c3972698ec3be26ff4930d24d34
25 changes: 25 additions & 0 deletions dev-python/django-guardian/django-guardian-1.4.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )

inherit distutils-r1

DESCRIPTION="Implementation of per object permissions for Django 1.2+"
HOMEPAGE="https://github.com/lukaszb/django-guardian"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""

CDEPEND=">=dev-python/django-1.2[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"

RDEPEND="${CDEPEND}"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest-runner[${PYTHON_USEDEP}]"
12 changes: 12 additions & 0 deletions dev-python/django-guardian/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>johann@j-schmitz.net</email>
<name>Johann Schmitz (ercpe)</name>
</maintainer>
<upstream>
<remote-id type="github">lukaszb/django-guardian</remote-id>
<remote-id type="pypi">django-guardian</remote-id>
</upstream>
</pkgmetadata>
1 change: 1 addition & 0 deletions dev-python/django-oauth-toolkit/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST django-oauth-toolkit-1.0.0.tar.gz 78173 BLAKE2B 276f7c3ba1c52a1f25d19cef51a39b59cc24ba40bdad345e339349d8fdd51608c53a3a2bd78b43ea2aea332f943414c9ae944968f6d99b63b2c61c138fa3254e SHA512 9e59017c82cb301d635b3eaf939ec7077c5fc69511c0b4f4163829ebc8b1a961fd8ba6f708d748c29df053825e7d94e7a916a65f332161c8c7314a69b631b1b6
30 changes: 30 additions & 0 deletions dev-python/django-oauth-toolkit/django-oauth-toolkit-1.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )

inherit distutils-r1

DESCRIPTION="OAuth2 goodies for the Djangonauts"
HOMEPAGE="https://github.com/evonove/django-oauth-toolkit"
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SRC_URI="https://github.com/evonove/django-oauth-toolkit/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE=""

LICENSE="BSD"
SLOT="0"

RDEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]
>=dev-python/oauthlib-2.0.3[${PYTHON_USEDEP}]
>=dev-python/requests-2.13.0[${PYTHON_USEDEP}]"

DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# test? ( ${RDEPEND}
# >=dev-python/mockldap-0.2[${PYTHON_USEDEP}] )
# doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"

1 change: 1 addition & 0 deletions dev-python/django-rest-framework/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST django-rest-framework-3.7.3.tar.gz 9537416 SHA256 03330e7a5d31b3eacd1cd0cf6c4be66144715d2d967942474d14dcdeb5ef1215 SHA512 a134d4ce8911530c1bffd7c8e5336100186df5fb8e5e06cc30b872c212a3012e259c85b44e7ea3294f3a80c00f8cb358e1d352f7b4fa0c69d7874e8afb05be7b WHIRLPOOL 954b623828f2f7abb7ac9fcf667871cef1dcb9f0f5b944369f77874cd1dd81689fe159a345f9c8b63a0d60281ae10fd4c72c34c28e10987b07e319b946726e0d
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 ) # ,3_2,3_4 due to dependency to oauth-plus

inherit distutils-r1

DESCRIPTION="Powerful and flexible toolkit that makes it easy to build Web APIs using Django"
HOMEPAGE="http://django-rest-framework.org/"
SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""

RDEPEND=">=dev-python/markdown-2.6.4[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
>=dev-python/django-guardian-1.4.3[${PYTHON_USEDEP}]
>=dev-python/django-filter-0.13[${PYTHON_USEDEP}]
>=dev-python/coreapi-1.32.0[${PYTHON_USEDEP}]
"
# oauth? (
# >=dev-python/django-oauth-plus-2.0[${PYTHON_USEDEP}]
# )

DEPEND="${RDEPEND}
>=dev-python/django-1.8[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"

# >=dev-python/defusedxml-0.3[${PYTHON_USEDEP}]
# >=dev-python/oauth2-1.5.211[${PYTHON_USEDEP}]
# python-oauth2

#RESTRICT="test"
1 change: 1 addition & 0 deletions dev-python/dnsdumpster/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST dnsdumpster-0.5.tar.gz 15404 BLAKE2B b93207eb1fb622ead1bb5989cc1963a6677ff2284641bb3ef5a968671cf4210238ce68c13026e75c2fb8c981380ff753eb34ff1057ff38362c7774b801e7d0ab SHA512 f43bf11854793c802ce78f24edda1275d503332180a81e0c86f372eb403ee1b24791b9b7bd3d102f80d49b055f9b71c3c5ed9a6bcc1a8aa0d934a98025bafd1f
21 changes: 21 additions & 0 deletions dev-python/dnsdumpster/dnsdumpster-0.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit distutils-r1

DESCRIPTION="Python API for dnsdumpster.com"
HOMEPAGE="https://github.com/PaulSec/API-dnsdumpster.com"
SRC_URI="https://github.com/PaulSec/API-dnsdumpster.com/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="dev-python/requests
dev-python/beautifulsoup:4"
RDEPEND="${DEPEND}"

S="${WORKDIR}/API-${PN}.com-${PV}"
25 changes: 25 additions & 0 deletions dev-python/dotty/dotty-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1 git-r3

DESCRIPTION="EFILTER Query Language"
HOMEPAGE="https://github.com/google/dotty"
SRC_URI=""
EGIT_REPO_URI="https://github.com/google/dotty.git"
EGIT_CHECKOUT_DIR="${WORKDIR}/dotty"
S="${WORKDIR}/${PN}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}"
1 change: 1 addition & 0 deletions dev-python/dpkt/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST dpkt-1.9.1.tar.gz 115253 SHA256 c6a7ee878fa3d56e2c1fb44846f937046ba03b035da27382596e76f8d9f32967 SHA512 fc18907e4420249c5e8da21f630a24af6bee3e96545a58866170811c15802591a3bd6f7cf816ccb65e3437c0f451a1dc321fc46ac8a63cb8e8a06e0021e15f7f WHIRLPOOL 3cdda5e5f33846548dada9802339e4abc88f4afcaeb11e5130142b4d5760bff85249503666de81aa1edf8d0f424bf3b8af8d3fc8974c4840694c49071d3418cf
15 changes: 15 additions & 0 deletions dev-python/dpkt/dpkt-1.9.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit distutils-r1

DESCRIPTION="fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols"
HOMEPAGE="https://github.com/kbandla/dpkt"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
1 change: 1 addition & 0 deletions dev-python/editorconfig/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST EditorConfig-0.12.1.tar.gz 19282 BLAKE2B baee598b125d92129925d5e4bc25ab73e96a97f0211331a10bafd5557e2024f573658b6384bebe01624fb0e33f413cdee14f32ce459ee421c32bc76047df3b1e SHA512 d31abc261c3f2e17582d3c5ef549fd2f2292588d8a4549eb98d80693cf94a50078047d95892164a71043375f6c5596152ac62e04e854d78458cfb1183030669f
26 changes: 26 additions & 0 deletions dev-python/editorconfig/editorconfig-0.12.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

PYTHON_COMPAT=( python2_7 python3_{4,5,6} )

inherit distutils-r1

MY_PN=EditorConfig
MY_P=${MY_PN}-${PV}

DESCRIPTION="EditorConfig File Locator and Interpreter for Python"
HOMEPAGE="https://pypi.python.org/pypi/EditorConfig"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"

LICENSE="PSF-2.4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""

S=${WORKDIR}/${MY_P}
1 change: 1 addition & 0 deletions dev-python/esmre/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST esmre-0.3.1.tar.gz 24237 SHA256 fa8fb1ed9e2489e58e9fc751a9b83f1776ed65815d4991f4df73146d0173e532 SHA512 446c8470b658db6be8d97b70071c7586fcc61bd740488133b57fb71ae2e668d93698916f3249bc9fa417451279f5b84379c88ba9d54907262c77010054a5c0b1 WHIRLPOOL 550300160c9bb45d9a89d9153ff5dfb23b90580fab1d1dbcf86f176103473103492a1f6c535e67561be79f5fadb71c9ee2962d7bf44ce3f29439e90cd7493b6e
29 changes: 29 additions & 0 deletions dev-python/esmre/esmre-0.3.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

PYTHON_COMPAT=( python{2_6,2_7} )

inherit distutils-r1

DESCRIPTION="Regular expression accelerator"
HOMEPAGE="https://code.google.com/p/esmre/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

python_test() {
distutils_install_for_testing
cd "${TEST_DIR}"/lib || die
${EPYTHON} "${S}"/test/test_esm.py && ${EPYTHON} "${S}"/test/test_esmre.py ||
die "Tests fail with ${EPYTHON}"
}
1 change: 1 addition & 0 deletions dev-python/flask/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST Flask-1.0.2.tar.gz 644534 BLAKE2B dd024f6f7a68691c759e3fd494a9482c4ab5216b5c7486fc1717346f953678c3198deedd657e7ddd3a5deff57ce31b1afdc40ef2ba9cc2fbed48f3afc223f6d0 SHA512 0ddf5d8bb0b0ae61f990096dffe3cf02744d7986015d05ae2cc09dfe0def17df44e2a4c58e330d17c7bd8c3eb74014dee5e2edef6e300b8e4ed756c251938f52
62 changes: 62 additions & 0 deletions dev-python/flask/flask-1.0.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )

inherit distutils-r1

DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions"
HOMEPAGE="https://github.com/pallets/flask/"
MY_PN="Flask"
MY_P="${MY_PN}-${PV}"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git"
inherit git-r3
else
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${MY_P}"
fi

LICENSE="BSD"
SLOT="0"
IUSE="doc examples test"

RDEPEND=">=dev-python/click-2[${PYTHON_USEDEP}]
>=dev-python/blinker-1[${PYTHON_USEDEP}]
>=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
>=dev-python/jinja-2.4[${PYTHON_USEDEP}]
>=dev-python/werkzeug-0.7[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"

python_prepare_all() {
# Prevent un-needed d'loading
sed -e "s/ 'sphinx.ext.intersphinx',//" -i docs/conf.py || die
# DeprecationWarning: Flags not at the start of the expression
sed -e "s/r'\(.*\)\((?.*)\)'/r'\2\1'/" -i tests/test_basic.py || die
# issubclass(ModuleNotFoundError, ImportError)
# sed -e 's/\(excinfo.type\) is \(ImportError\)/issubclass(\1, \2)/' \
# -i tests/test_ext.py || die
distutils-r1_python_prepare_all
}

python_compile_all() {
use doc && emake -C docs html
}

python_test() {
PYTHONPATH=${S}/examples/flaskr:${S}/examples/minitwit${PYTHONPATH:+:${PYTHONPATH}} \
py.test -v || die "Testing failed with ${EPYTHON}"
}

python_install_all() {
use examples && dodoc -r examples
use doc && HTML_DOCS=( docs/_build/html/. )

distutils-r1_python_install_all
}
12 changes: 12 additions & 0 deletions dev-python/flask/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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">Flask</remote-id>
<remote-id type="github">mitsuhiko/flask</remote-id>
</upstream>
</pkgmetadata>
15 changes: 15 additions & 0 deletions dev-python/frida-python/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
DIST frida-10.7.7-py2.7-linux-i686.egg 19893803 BLAKE2B 775e05482f62daf6a5747b0d3707eb60a1e4c1bcfe614ac28bbd72c40c5154c36cc14b569c42fa3a6b96a1e57844033b2e7e8e80bf4c3921365865ac7e08bc8e SHA512 3b395b94d559ea44de4a4eb2310cf635685e0b0471aba0f1c155304b0c91eb0f013071dd1da6298b68de8e4f05b445d31dfbf334773d0fe60e39b10d0d02131b
DIST frida-10.7.7-py2.7-linux-x86_64.egg 20337607 BLAKE2B 9794eaec137cbbfbde5292ee03c883fdee7e9b79439d89380dcc535219d197370e018f23c71e0ade3404a2ae87f2e3a837388a3529ff13ee9971cf6138b64b59 SHA512 842302ff149f71b265e40486fdce435a92449c1707ed02b43239793c5ee0817126905514cf75e0550cac59afa8fbae40d0a3e5acceeda45c2ddc06145162c498
DIST frida-10.7.7-py3.6-linux-i686.egg 19896805 BLAKE2B 14ce9adc936ff8a2d9d6a104f16c93e7cc164027ca6c8974acf4b2d33f6e69041a912a067062c795bfa1e3c946a7c7b464c128c419059a1603f11939346d16b7 SHA512 b526adf5e20daef45a36c50a0abca0b4da64c3a8d3d43fd88afbab9259417db00cd5ea98509934789a65532f342508977ae5c551ea3ec7bbdb936a20f8a2fb73
DIST frida-10.7.7-py3.6-linux-x86_64.egg 20339894 BLAKE2B f7bed7af25439e1fb2b57e6e1a74d1f19fd810dfcacf53dda4409f0f0368a607e243ae78c315fc8c666235580bcfbd3e97c048d5c77b3d68207cee4b48fbec9d SHA512 bc1351a24ea4b19a7af6c101fd972b612d632e0b8d5792036f206db1265174f89b06e7cb6eb843260490171d52c0900b1867df445a8eaa390cbb36ae89eb66f6
DIST frida-10.7.7.tar.gz 29273 BLAKE2B e12c5103b0618ab8b0809240ee3127a19a904c30468c6748ac897bdceb48f990b663a84565130c9a7d363f49656e802adcfa77a5a0bd06c268000421b6ddf787 SHA512 b9f2ff4e8ea5a516e55579dedaf5bddc7b039cd048439387f88bb326dacc34fdec4730f25527b7f9ded856c008d26a85d3dbf6877b006f2cd2a13e218abc64e7
DIST frida-11.0.3-py2.7-linux-i686.egg 20260008 BLAKE2B 88ed1fc354692cbdda28d1b1743f394374796fbddca4a030c26b8b2c136e7c7689e29af1e35d662fe94d708991df64395d265cca4a90d2c2339299f3baee9d57 SHA512 1662fd1cb8155ec22c6e79054da8acee85c36062a563d4191db32a50c2b16a9131b2f9ffec5517fb17432cbcbbe4dd3e593f8c1b4ca56b3e018e845a88aa2f4a
DIST frida-11.0.3-py2.7-linux-x86_64.egg 20724723 BLAKE2B 90b9ea580c7443fea6496f46deb06e9ccf991a437393ee52f45f37ebd910d45af4a42c44ba041076e63bd0f2e1a58398ef5810a3f825a7bc3418cf6bf682e556 SHA512 209958b029e93325b6a8f0d825334e61b0183b2ae359566611c101e8f52ccaa04be5a0a6c34b31e791e94e23a9a77eba9db1dfa3e6c0b6cbb9bcb60982384993
DIST frida-11.0.3-py3.6-linux-i686.egg 20262041 BLAKE2B 89cd33c490ad43d29d974463348ea42e53ba049c8d0b3e3657b05fc8794489d68efb2f3f35680508f109c2d9b0ab84db0c1c6703e836b7d4b6f640fb132ec39c SHA512 e09b6aa372d6df2a470bd2a041867371870e7c87809bc0224144d5cdf5c64ccd6e47b96c25b96b037dcfb0b9eeddcb17bfe795c7cc823311ccd58dfbae7e74ea
DIST frida-11.0.3-py3.6-linux-x86_64.egg 20727271 BLAKE2B ecef27a88d5a2c3063d64b3b77ac7e2572de5421bc68a425c3e616663b13cb3e273f3f76c14a2402ae3c661f85344685c746f67eb3ee37b277e8511873cea358 SHA512 b5e842fe9864b6e800716bc9db59f2581f301fc22a7e5cd42ca9ff1c2792780e086827bad13cdefb6fbfe71cfbc0f04b695c709d244987d46f906b5f3fada280
DIST frida-11.0.3.tar.gz 29223 BLAKE2B 338859f9d900526c164ce2d262c59386f9858957570f57d177093db8db283784c3eeede656e067510ab1e15cec303350341643fb0cc638752306914075d0cb13 SHA512 79573e848513309c54b1c6df0fedb039201e4e9f4b18700cb2f38f8bce6b1b0c48af3839690b0670bff6169928d94854a7e2c0aef408ccddd3c58882ec2c8b99
DIST frida-12.0.3-py2.7-linux-i686.egg 20224040 BLAKE2B ae60cda03908ed3d5f93e5996c02cb24f4235e2677e7ab7aece7e5c88ceabf6717c281103bfc59b3dc6047dac5de3051814951289d1c8f5ff2a3ddfad158de9f SHA512 7fb5fb63e2765e4767dcd53158bedfafe532d36474919d4c4e1bedd837c81beb05f16c68e941d932653fc2abb319c4be94c8fe12dc267d3182ab53063ae15b26
DIST frida-12.0.3-py2.7-linux-x86_64.egg 20685876 BLAKE2B e40d4f7c0b6263cb0a4674bb709d5cd35d00234feacd2b991b56afabfa44a37316158cd1c6f37e7bc7adea83a703887212c953133aaf8091b3e6b450cef020e7 SHA512 501cc176a361d120d95cbdf7f6db4e4fbddf8f3fa2cf573664f16528f8d63ef517690b3706256bcc5bc1579453129c4b8562021574e329b59132d63fbbedb7d8
DIST frida-12.0.3-py3.6-linux-i686.egg 20225888 BLAKE2B b984a153bc74df6d0dcfb3220b9cb2cbd6815190789c66a610e280f48ea720b06e31306a0f8aad607aadd0de7922beada9d6062f8971a66b7ea9c20f0f74b8d0 SHA512 7dd9d58bb7959598fd780db9ad536d8562c36d23dcac94cbb7571ee42b89d8d0341e3ce9d161947ed4bb743d56dc0a2b8e45e92ec248983a49ad6ad55998ac43
DIST frida-12.0.3-py3.6-linux-x86_64.egg 20687677 BLAKE2B c78a1f1e48aa64124063682dd523e2b42b6fe6933e16c2c4cbdf5dfcac839818f117b8c35c0e3f0ee66fb502b99c7d94d0e55536e7645e0017674bb2a24697fc SHA512 bb87c89e261a2168501bd144cafa766834d97aab112c1b46151c882b16fb2e95cf5bc203815f8129f325702a9091e266403e8f309c5526dc740b9fd6cb34d68d
DIST frida-12.0.3.tar.gz 6485 BLAKE2B 1bb59f92c381510391107b62a0ac779b5ba6027408a9ee559dcf980cfc7fe327cec8532a0e667de528875b4bcea46385540d7d29c981d7bffaa2ec350e13d8af SHA512 6ed36646160adfde20a435f63ffeed9a4d4ec3049705c82dd2f2a6da4048dd54b915b73b5c58e1a973a71bd95482952b4ca4a9516ad9988ad722bf11487d827d
42 changes: 42 additions & 0 deletions dev-python/frida-python/files/frida-offline.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
--- a/setup.pyd 2018-01-21 21:19:12.000000000 +0800
+++ b/setup.py 2018-04-20 19:37:12.927635606 +0800
@@ -75,38 +75,7 @@

network_error = None

- try:
- print("querying pypi for available prebuilds")
- client = xmlrpclib.ServerProxy("https://pypi.python.org/pypi", transport=UrllibTransport())
- urls = client.release_urls("frida", frida_version)
-
- urls = [url for url in urls if url['python_version'] != 'source']
-
- def parse_version(version):
- return tuple(map(int, version.split(".")))
-
- if python_major_version >= 3:
- urls = [url for url in urls if parse_version(url['python_version'])[0] == python_major_version]
- else:
- urls = [url for url in urls if parse_version(url['python_version']) == python_version]
-
- os_suffix = "-{}.egg".format(os_version)
- urls = [url for url in urls if url['filename'].endswith(os_suffix)]
-
- if len(urls) == 0:
- raise Exception("Could not find prebuilt Frida extension. "
- "Prebuilds only provided for python 2.6-2.7 and 3.x.")
-
- url = urls[0]
- egg_filename = url['filename']
- egg_url = url['url']
-
- print("downloading prebuilt extension from", egg_url)
- egg_data = urlopen(egg_url).read()
- except Exception as e:
- network_error = e
-
- if network_error is not None:
+ if network_error is None:
print("network query failed")

egg_path = os.path.expanduser("~/frida-{}-py{}.{}-{}.egg".format(frida_version, python_version[0], python_version[1], os_version))
Loading

0 comments on commit 7205c7b

Please sign in to comment.