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 917eb90 commit 0a6d20b
Show file tree
Hide file tree
Showing 35 changed files with 527 additions and 0 deletions.
25 changes: 25 additions & 0 deletions dev-python/DartsPyLRU/DartsPyLRU-0.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: blshkv $

EAPI=5

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

MY_PN="darts.util.lru"
DESCRIPTION="LRU Dictionaries"
HOMEPAGE="https://github.com/deterministic-arts/DartsPyLRU"
SRC_URI="mirror://pypi/d/${MY_PN}/${MY_PN}-${PV}.tar.gz"

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

S=${WORKDIR}/"${MY_PN}-${PV}"

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

#python_test() {
# esetup.py test
#}
1 change: 1 addition & 0 deletions dev-python/DartsPyLRU/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST darts.util.lru-0.5.tar.gz 11765 BLAKE2B c0a0312e4653f9aa15115649eff29c8aefce7e1eef6e7cfab49ae5ececa8b56c10faec6e6ba706910e14c647939ddb7998fd05c471cc4ac026d245eb6223ae0c SHA512 900734e1c93dd91aa844179ed5eb144d2c43e8ce7760d08e5216d87b700e6bdb0062f7585237449708cd95284a353870c9051637199ee95ebe9b54e67ff866e9
25 changes: 25 additions & 0 deletions dev-python/acora/acora-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="Fast multi-keyword search engine for text strings"
HOMEPAGE="https://github.com/scoder/acora"
SRC_URI=""
EGIT_REPO_URI="https://github.com/scoder/acora.git"
EGIT_CHECKOUT_DIR="${WORKDIR}/acora"
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/androguard/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST androguard-3.2.0.tar.gz 599730 BLAKE2B 0ec14e119b88717266a53d6632ab077096f115541d29a82058987a11000c829ea8fff4a3f686ef0c65038167d205e7007d65bb9aab4f72a93fefdc5c050c8964 SHA512 ce165afb31a9fc1b51e748686e452a11aa4f639fd596e9ed03e4e35414122bdd3b9b1ecc32ea0309e6f4d64e37b8148945d2a8ad139891d995c4524a54fbcb62
30 changes: 30 additions & 0 deletions dev-python/androguard/androguard-3.2.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 1999-2017 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="Read Android's binary format for XML files (AXML) and a decompiler for DEX"
HOMEPAGE="https://pypi.org/project/androguard/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

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

RDEPEND="dev-python/future
>=dev-python/networkx-1.11
dev-python/pygments
dev-python/lxml
dev-python/colorama
dev-python/matplotlib
>=dev-python/asn1crypto-0.24.0
$(python_gen_cond_dep '>=dev-python/ipython-5.0[${PYTHON_USEDEP}] <dev-python/ipython-6[${PYTHON_USEDEP}]' python2_7 )
$(python_gen_cond_dep '>=dev-python/ipython-5.0[${PYTHON_USEDEP}]' python{3_5,3_6} )
"

DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
1 change: 1 addition & 0 deletions dev-python/argparse/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST argparse-1.4.0.tar.gz 70508 BLAKE2B 7bc250ea4203f40d67d9a78ca046f7a2023df742a254426cdae551abb2edabb4beba8d3cef7c848e2e98ffd682a80638cf85689ddeab6b4ddcd3fd98e6d2572f SHA512 9941f9d26c43169f947c9efadda6239349e1f9df80ff5fcdba3070bc7b43c43ab6bb4b7f0c7eee8e5d06231a17a7e9ee9eb73c7a9bb68ebe5d13f879686d61b2
16 changes: 16 additions & 0 deletions dev-python/argparse/argparse-1.4.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 1999-2018 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="Python command-line parsing library."
HOMEPAGE="https://github.com/ThomasWaldmann/argparse/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
1 change: 1 addition & 0 deletions dev-python/async_generator/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST async_generator-1.9.tar.gz 15711 BLAKE2B 8e6842af3d2913158b58d3407ad9dd6cdfa998491e14c7daa33319c165790d786eff5b43d467f3f27e1e3491e0804f39db0541376dfe6e250476d4384b8ee654 SHA512 c4e3295cf51e2d06ea240f9cefd135984f9e61ab6cff28f76a3a83321f7c2d811f51f8909d17d901331b55f304683b4e072d16262f5311622402568009b2d1cb
24 changes: 24 additions & 0 deletions dev-python/async_generator/async_generator-1.9.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python3_{5,6} )

inherit distutils-r1

DESCRIPTION="Making it easy to write async iterators in Python 3.5"
HOMEPAGE="https://github.com/python-trio/async_generator"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

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

RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
1 change: 1 addition & 0 deletions dev-python/asynctest/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST asynctest-0.12.0.tar.gz 41172 BLAKE2B 564824987001009e59b11f6b6450e06e8a3337b85c2e57842701b8b4d0d6e174e6f9acb43e70477841eb14d0f0d4520bcde70177583428977da0254e3dd1a1a4 SHA512 6c51d2a85f7f9a46b4f45cc25c2fdc3cc94693ca1d21cd4e50d3cb2839901408b6c1bdb0bf1a4edb6700903f0f1db2d2be4c8091bcc4fddf12ccaf9f9eb09c8a
17 changes: 17 additions & 0 deletions dev-python/asynctest/asynctest-0.12.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

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

inherit distutils-r1

DESCRIPTION="Enhance the standard unittest package for testing asyncio libraries"
HOMEPAGE="https://github.com/Martiusweb/asynctest"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
1 change: 1 addition & 0 deletions dev-python/bluepy/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST bluepy-1.1.4.tar.gz 218850 BLAKE2B fd33b617ee36bf371da08c880e9032f80e5a095480dc5e671901c2eb898ed072c0cda7fdcb257a7bed6ae9d067eb616ff48df75c6a270678b8f9447937e4bd3d SHA512 40b285a093ab9eb627d41bee03b8cef84c94aafcd65f5cf162fb30ce350126556f984d363389ac7b209847c32484486f5042891ffa8c9eb7a30d58bbab31626f
20 changes: 20 additions & 0 deletions dev-python/bluepy/bluepy-1.1.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 1999-2018 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="Python interface to Bluetooth LE on Linux"
HOMEPAGE="https://github.com/IanHarvey/bluepy"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

RDEPEND="dev-libs/glib"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
2 changes: 2 additions & 0 deletions dev-python/capstone-python/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST capstone-4.0-alpha5.tar.gz 3263242 BLAKE2B b25c9699c973acccdcf58f656c720382f71c642c74420af830a74f36fcd5831221ee9dcfdbb94736219142f1d3829fc0c2bdbc55b9e0d24a5f9ec554220d179f SHA512 c218f976ad0d26dc38553267695b9b196156d76f046330446b2ea66161215bb6bd79e086f29c023d01664e8f6371cc4d3a3413c246913381bf3de01a7a3b76c0
DIST capstone-python-3.0.4.tar.gz 2800818 BLAKE2B 012624d421ed54088733e9aaca2f5c1bdda7e9777dabe420cbfda1331fe9a9499b692ec3add2f73479d17d7d8fd1c6e463b5153da54eb6215609c97bce00672e SHA512 a5c29e7c559b5391d6a4ec9a7f766699ea6d321aa2f1fc57fdcec893107fa3ef2f5f6323629971c1129f1ca087df4f3ad03d0a8234d2eae368c8ccfec04dbf4d
37 changes: 37 additions & 0 deletions dev-python/capstone-python/capstone-python-3.0.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

MY_P=capstone-"${PV}"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit eutils multilib distutils-r1

DESCRIPTION="A lightweight multi-platform, multi-architecture disassembly framework"
HOMEPAGE="http://www.capstone-engine.org/"
SRC_URI="https://github.com/aquynh/capstone/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="cython"

RDEPEND="cython? ( dev-python/cython
dev-libs/capstone[python] )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

S=${WORKDIR}/${MY_P}/bindings/python

python_prepare() {
#our hack to adjust cython setup
if use cython; then
cp setup_cython.py setup.py
# sed -e 's|install:|install_default:|' -i Makefile || die "sed failed"
# sed -e 's|install_cython:|install:|' -i Makefile || die "sed failed"
#this section is from Makefile
cp capstone/__init__.py pyx/__init__.py
for i in arm{,_const} arm64{,_const} mips{,_const} ppc{,_const} x86{,_const} sparc{,_const} systemz sysz_const xcore{,_const}; do
cp capstone/${i}.py pyx/${i}.pyx
done
fi
}
41 changes: 41 additions & 0 deletions dev-python/capstone-python/capstone-python-4.0_alpha5-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PV="${PV//_/-}"
MY_P=capstone-"${MY_PV}"

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

DESCRIPTION="A lightweight multi-platform, multi-architecture disassembly framework"
HOMEPAGE="http://www.capstone-engine.org/"
SRC_URI="https://github.com/aquynh/capstone/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="cython"

RDEPEND="cython? ( dev-python/cython
dev-libs/capstone[python] )"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"

S=${WORKDIR}/${MY_P}/bindings/python

python_prepare() {
#our hack to adjust cython setup
if use cython; then
einfo "cython flag is enabled"
cp setup_cython.py setup.py
sed -e "s|'xcore_const']|'xcore_const', 'tms320c64x', 'tms320c64x_const']|" -i setup.py || die "sed failed"
# sed -e 's|install:|install_default:|' -i Makefile || die "sed failed"
# sed -e 's|install_cython:|install:|' -i Makefile || die "sed failed"
#this section is from Makefile
cp capstone/__init__.py pyx/__init__.py
for i in arm{,_const} arm64{,_const} mips{,_const} ppc{,_const} x86{,_const} sparc{,_const} systemz sysz_const xcore{,_const} tms320c64x{,_const}; do
cp capstone/${i}.py pyx/${i}.pyx
done
fi
}
42 changes: 42 additions & 0 deletions dev-python/capstone-python/files/capstone-python-2.1.2-setup.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
diff -urN capstone-2.1.2.orig/bindings/python/setup.py capstone-2.1.2/bindings/python/setup.py
--- capstone-2.1.2.orig/bindings/python/setup.py 2014-04-01 10:22:54.000000000 +0800
+++ capstone-2.1.2/bindings/python/setup.py 2014-04-10 09:07:21.023071179 +0800
@@ -4,17 +4,6 @@

VERSION = '2.1'

-# clean package directory first
-import os.path, shutil, sys
-for f in sys.path:
- if f.endswith('packages'):
- pkgdir = os.path.join(f, 'capstone')
- #print(pkgdir)
- try:
- shutil.rmtree(pkgdir)
- except:
- pass
-
setup(
provides = ['capstone'],
packages = ['capstone'],
diff -urN capstone-2.1.2.orig/bindings/python/setup_cython.py capstone-2.1.2/bindings/python/setup_cython.py
--- capstone-2.1.2.orig/bindings/python/setup_cython.py 2014-04-01 10:22:54.000000000 +0800
+++ capstone-2.1.2/bindings/python/setup_cython.py 2014-04-10 09:10:03.838082455 +0800
@@ -21,17 +21,6 @@
Extension("capstone.x86_const", ["pyx/x86_const.pyx"], extra_compile_args=compile_args)
]

-# clean package directory first
-import os.path, shutil, sys
-for f in sys.path:
- if f.endswith('packages'):
- pkgdir = os.path.join(f, 'capstone')
- #print(pkgdir)
- try:
- shutil.rmtree(pkgdir)
- except:
- pass
-
setup(
provides = ['capstone'],
package_dir = {'capstone' : 'pyx'},
1 change: 1 addition & 0 deletions dev-python/cfscrape/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST cfscrape-1.9.5.tar.gz 8390 BLAKE2B 739653106e9da5dfc4cf3d51ba96ac6164c82942af793611df879f30b4df6b45b8bf433ea7a8a8ba199cef87ceecfdfbf59f533547caaa212ab72fc946d762a4 SHA512 6b14266106e80ea77b393a7c358831f7cecedddb22011a835cc102c2cf913bf9cc9ae91d3a49d7c450bbf809b334ef85eb22175afb019ffa14fbd3d906bcf3f6
24 changes: 24 additions & 0 deletions dev-python/cfscrape/cfscrape-1.9.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 1999-2018 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="Python client library for Core API"
HOMEPAGE="https://github.com/Anorov/cloudflare-scrape"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

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

RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
# dev-python/setuptools[${PYTHON_USEDEP}]
# "
# test? ( dev-python/mock[${PYTHON_USEDEP}]
# )"
1 change: 1 addition & 0 deletions dev-python/clamd/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST clamd-1.0.2.tar.gz 8218 SHA256 d82a2fd814684a35a1b31feadafb2e69c8ebde9403613f6bdaa5d877c0f29560 SHA512 b025d502cacff138e8a4f8d8bab2105e0f7cba2e95b410e40010842c6614fbee0dce84acb996f91fd7eeb9aac838b5f84f8831ee1ff92c9cfb5aabe9414baf83 WHIRLPOOL 1f676c431fb7b2e76b2a42a4df77b97d97ecf5b12e82acb60bc9b0466216a7dbeb90e5465bee384dce722c7fe3b7d1f02ac3df684451d4e07a52de7b2e61f4af
34 changes: 34 additions & 0 deletions dev-python/clamd/clamd-1.0.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

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

inherit distutils-r1

DESCRIPTION="Clamd is a python interface to Clamd (Clamav daemon)"
HOMEPAGE="https://github.com/graingert/python-clamd"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"

RDEPEND="
app-antivirus/clamav
app-antivirus/clamav-unofficial-sigs
dev-python/d2to1
dev-python/six
"
DEPEND="
${RDEPEND}
test? ( dev-python/pytest )
"

python_test() {
distutils_install_for_testing
cd "${TEST_DIR}"/lib || die
py.test -v || die "Tests fail with ${EPYTHON}"
}
5 changes: 5 additions & 0 deletions dev-python/clamd/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
</pkgmetadata>
1 change: 1 addition & 0 deletions dev-python/config/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST config-0.3.9.tar.gz 21421 SHA256 6aed191d1850483c73a614db01d95897e3da102438c7c2d2cbaa188bd923ff70 SHA512 8b022fc4eef35c8b2bc543e24b0ccdb72899e628e070ea1b530017d9ad504ac36d46cc240f058f77d63ec6ed6f0121f4996fdaed320de6cdef50f0b7814bf12c WHIRLPOOL 7fe3fc8ce72cf433df295bad230e5a5b8abbbfac2a5c324ec69e7f80bc73faed6e764df2f388b1bc030539ef68895c7dcd2ae0e1464dc15ab8fe07a580bfe172
16 changes: 16 additions & 0 deletions dev-python/config/config-0.3.9-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

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

DESCRIPTION="This module allows a hierarchical configuration scheme with support for mappings and sequences"
HOMEPAGE="http://www.red-dove.com/python_config.html"
SRC_URI="mirror://pypi/c/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""
1 change: 1 addition & 0 deletions dev-python/construct/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST construct-2.8.10.tar.gz 719537 BLAKE2B 410fa23995d30ca4a05033ee834e5c7826ea52a1aa9a016749f2cbb58a14ec3697412a713f89fee1ef148a62de81a874cf57c4f93fa5f0e4ea710a8ae9b28e1c SHA512 97a81b1be9ffb32eae98cc0e194c3667ade0405f9a21867cb850ee4e4cb80cb78bda157bb08304e01559d542ddd9b0a52fbfac2b493d2cabd5d0c62df9f76439
Loading

0 comments on commit 0a6d20b

Please sign in to comment.