Updated python packages
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
AUX requests-2.12.1-system-packages.patch 492 BLAKE2B 8b094ceae19926bce6dc83ac9e9faf6d853c3e7989e9fcdfdebe72cc7c520a33d393216974e5a7702c3139b6bbdd9b287929546894412a4e97a5ee510c4e0bfc SHA512 0f85689cfc0f100052de77af818b1e897ba3f199514dd769247d1a58a12bdb6afea12fb7a01199414eca02a4eaa5446f47e1ac7206a47580aa8880121edc7a30
|
||||
AUX requests-2.14.2-system-packages.patch 665 BLAKE2B 119604df7f3499536f6788c8e841ee23a23c72228bbc53f166c9136a1d167ec003b620ffd1c89ca4fba1e53aa7670ec903f4887c6539ab1a99b03f316c3a2a1d SHA512 0452537662eaadd8336dce1679ef2839ace898a129ce9c10ad4b35558e809fa8705ae29cddfbc8a22ec147c7c57bcf7a742c25e1189fe1f10c091b242f74867d
|
||||
AUX requests-2.5.0-system-cacerts.patch 694 BLAKE2B 68294e60112520472f7c776283a3bda8fee99aa7039134a1afb3965a5e44ce225b3961b7ddb26496da4514ff3a5a5867d00edf4ebfd9c117b8c7524939baf009 SHA512 804a2e2d46b6377c3f2a675ab367a1410e1f333dc6d087535f7eff73a78da06cef5ef66c3ad947bc1830aa373b963bfd30b4598eb6ca203a0f7e532cf971d145
|
||||
AUX requests-2.9.1-system-packages.patch 527 BLAKE2B 1e07bf34117b1dfdff562b604d7d96fba074ea90f9fbdcdae0ea6f45867fc88933ad658f9399b69e5048de5990466e08294cf6b1c80c1b5ec2c54f490c8b52cb SHA512 f7f77fe81f2d98cf2777c3388aec82ff0bd0188dffd047b46fdf514e19859f23263780e7e9dc828fdfe7f08a8e9ee63602f22208d2927a65fa45b8361444169c
|
||||
DIST requests-2.16.5.tar.gz 122929 BLAKE2B 07e7ac9bcf0f988e18853f70a49fd2eccc42088b3eaa0ee2f220482e0a8e37114a5c619dd059b6ac9ee604da3bfc232c1c5c676578372a771f6aca70677cc83e SHA512 9452103590a5f007dd98889ed0aa57517fb3eda11c860652ad17fd00ee605a976c857249593a1eb71736de832ae8907076b834f188a9aac8ba91a39ba6d3db10
|
||||
DIST requests-2.20.1.tar.gz 111475 BLAKE2B 3d57831915d7f27cbd0891799eb8eca3a1c28a2fc9096cf2189fb17351fbb1b35ac754d44b5c0c7f5df367d51b61287ef383b97cb983399df695954eae21b39e SHA512 631969fab07e6674afc8cc9707a2e18ea394c09cdef031894fd0b28cf94e20f4f24434901edf3233b84ce7be199cc8325b9fe975d9003334206bb4a85ca278ae
|
||||
EBUILD requests-2.16.5.ebuild 1368 BLAKE2B f0439f54fdf25406a0f24b6e77942a3f3cae5027b14f89afbb050dc86349e10cec75eb16d784fb22b6e479e2f00caaeb08db0ca0d7bf3fc2de68be43e1e00eee SHA512 c9543e785b5a778c282d7c436fd1f0a675695537eafa244051c52a941fe113916cb7cfda2fd9c84658c84eb26c19a3dabf0bd7a80afa97e1c2afcea4e1be7c35
|
||||
EBUILD requests-2.20.1.ebuild 1425 BLAKE2B 04be7607fd99a9ba3e7597432ae81fb67cce32567706edd2abd7995ce45b2677b8c054e9fb466782052c05418938ce8419b2ceb751aba880322907363bb8d44b SHA512 48d9e316bb6ac62ac98e047bf896e577dcb90bd66db48b0aa9aee0e5bd30873aa0589a29732ea1e9a462b5a6d705ffaf1c74e32b198ffbffa1e37aeab13bc665
|
||||
MISC metadata.xml 674 BLAKE2B 8670395eb334921eeaa21367eaf1c7d3770c11a166dc680bcb9b99a05da91d797baec8ef3c0596c40143f732e427c322a75ea75da1a2e7d99e56426be077b35e SHA512 7aa5c27d949a076b09b4c2b9e905124047d9ececc40d9c3fd225c6405aa084db96cab585956db9885b115cd24c6c153ae853187872e77e7d44ae5790c323bac9
|
||||
@@ -1,17 +0,0 @@
|
||||
--- requests-2.12.1/setup.py
|
||||
+++ requests-2.12.1/setup.py
|
||||
@@ -36,14 +36,6 @@
|
||||
packages = [
|
||||
'requests',
|
||||
'requests.packages',
|
||||
- 'requests.packages.chardet',
|
||||
- 'requests.packages.idna',
|
||||
- 'requests.packages.urllib3',
|
||||
- 'requests.packages.urllib3.packages',
|
||||
- 'requests.packages.urllib3.contrib',
|
||||
- 'requests.packages.urllib3.util',
|
||||
- 'requests.packages.urllib3.packages.ssl_match_hostname',
|
||||
- 'requests.packages.urllib3.packages.backports',
|
||||
]
|
||||
|
||||
requires = []
|
||||
@@ -1,19 +0,0 @@
|
||||
--- requests-2.14.2/setup.py.old 2017-05-15 17:38:45.942532911 +0200
|
||||
+++ requests-2.14.2/setup.py 2017-05-15 17:39:03.629533611 +0200
|
||||
@@ -36,16 +36,6 @@
|
||||
packages = [
|
||||
'requests',
|
||||
'requests.packages',
|
||||
- 'requests.packages.chardet',
|
||||
- 'requests.packages.chardet.cli',
|
||||
- 'requests.packages.idna',
|
||||
- 'requests.packages.urllib3',
|
||||
- 'requests.packages.urllib3.packages',
|
||||
- 'requests.packages.urllib3.contrib',
|
||||
- 'requests.packages.urllib3.util',
|
||||
- 'requests.packages.urllib3.packages.ssl_match_hostname',
|
||||
- 'requests.packages.urllib3.packages.backports',
|
||||
- 'requests.packages.urllib3.contrib._securetransport',
|
||||
]
|
||||
|
||||
requires = []
|
||||
@@ -1,24 +0,0 @@
|
||||
--- requests-2.5.0/requests/certs.py
|
||||
+++ requests-2.5.0/requests/certs.py
|
||||
@@ -13,13 +13,14 @@
|
||||
"""
|
||||
import os.path
|
||||
|
||||
-try:
|
||||
- from certifi import where
|
||||
-except ImportError:
|
||||
- def where():
|
||||
- """Return the preferred certificate bundle."""
|
||||
- # vendored bundle inside Requests
|
||||
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
||||
+def where():
|
||||
+ """Return the preferred certificate bundle."""
|
||||
+ cacerts = '/etc/ssl/certs/ca-certificates.crt'
|
||||
+ if os.path.exists(cacerts):
|
||||
+ return cacerts
|
||||
+
|
||||
+ # vendored bundle inside Requests
|
||||
+ return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(where())
|
||||
@@ -1,20 +0,0 @@
|
||||
setup.py | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index b7ed12b..1d5abe4 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -18,12 +18,6 @@ if sys.argv[-1] == 'publish':
|
||||
packages = [
|
||||
'requests',
|
||||
'requests.packages',
|
||||
- 'requests.packages.chardet',
|
||||
- 'requests.packages.urllib3',
|
||||
- 'requests.packages.urllib3.packages',
|
||||
- 'requests.packages.urllib3.contrib',
|
||||
- 'requests.packages.urllib3.util',
|
||||
- 'requests.packages.urllib3.packages.ssl_match_hostname',
|
||||
]
|
||||
|
||||
requires = []
|
||||
@@ -1,17 +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>
|
||||
<longdescription lang="en">
|
||||
Most existing Python modules for sending HTTP requests are extremely verbose and
|
||||
cumbersome. Python’s built-in urllib2 module provides most of the HTTP
|
||||
capabilities you should need, but the API is thoroughly broken. This library is
|
||||
designed to make HTTP requests easy for developers.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">requests</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2017 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} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="socks5 +ssl"
|
||||
|
||||
RDEPEND="
|
||||
=dev-python/certifi-2018.4.16[${PYTHON_USEDEP}]
|
||||
=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
|
||||
=dev-python/idna-2.7[${PYTHON_USEDEP}]
|
||||
=dev-python/urllib3-1.23[${PYTHON_USEDEP}]
|
||||
socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
|
||||
ssl? (
|
||||
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
#DEPEND+="
|
||||
# test? (
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
|
||||
# )
|
||||
#"
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# 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,7} pypy{,3} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="socks5 +ssl"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
|
||||
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
|
||||
<dev-python/idna-2.8[${PYTHON_USEDEP}]
|
||||
<dev-python/urllib3-1.24[${PYTHON_USEDEP}]
|
||||
socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
|
||||
ssl? (
|
||||
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
#DEPEND+="
|
||||
# test? (
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
|
||||
# )
|
||||
#"
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
AUX rpath.cmake 393 SHA256 b89f3698d321e30afef0f7c32be009d5d926f92ba310ad44b384cdbc1a6a104d SHA512 b9f2d3b34fd31a7e289e3aa1c96110f92bc66f45e5bfaf796f86d52eb832e960caca0e314b87248d0a41c13c95f04402607cbb5ad7d0b3238d5bab5580c3a65f WHIRLPOOL 79dbd32a58b6bf8a408f8fef3dd918c1946c89c32731b515984cb0ed8230c63cd724150db636523484d525c2ebad1f78217c7ccb6a294221aa8d2ca8dcce6a1d
|
||||
EBUILD shiboken-9999.ebuild 2337 SHA256 0626283bdcfabf10432e44ff74e439852f9928b83cf2f0505c385a8036194fe0 SHA512 57f5f89d243f2b980a071fc28e979831b0482e0017a4f8a6f8dbf9fa3e0a209ab6fdf59e91af55d6a8b93ab76f55a79f954795faaf40a27c74494abed1201dab WHIRLPOOL 6fdc0c0ab29df6f68b1354121dfcff8ce6e362cf9edfa02045718b0d780c426e68f92980814d113e0fb9fc6251e43e0f906164e0e71a658d2b7c56d9250613c3
|
||||
MISC metadata.xml 326 SHA256 128b953c1da35dd210f8368ffb75d00820e5ae11e51f84ea58216861d6f7c90b SHA512 d65136c0fcaf336df2f18df675392789b54f9569f7b2027835ed218500c53733db1e21c5121fbceb5cc93cb1442aa8faa4e324142e3ca9a73c954592d495a229 WHIRLPOOL 30423cb87a99b247f71a740b41fa12540186bb46f6affa614b00643d17cc502c40724eff746ff7d00233d072040b0ec4b5f775e5e5ac2f0d7d21fb921121da1e
|
||||
@@ -1,10 +0,0 @@
|
||||
# use, i.e. don't skip the full RPATH for the build tree
|
||||
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
|
||||
|
||||
# when building, don't use the install RPATH already
|
||||
# (but later on when installing)
|
||||
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
||||
|
||||
# add the automatically determined parts of the RPATH
|
||||
# which point to directories outside the build tree to the install RPATH
|
||||
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="numpy">Enable NumPy-based 2D array support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit cmake-utils llvm python-r1 git-r3
|
||||
|
||||
DESCRIPTION="Tool for creating Python bindings for C++ libraries"
|
||||
HOMEPAGE="https://wiki.qt.io/PySide2"
|
||||
EGIT_REPO_URI="https://code.qt.io/pyside/pyside-setup.git"
|
||||
EGIT_BRANCH="5.9"
|
||||
EGIT_SUBMODULES=()
|
||||
|
||||
# The "sources/shiboken2/libshiboken" directory is triple-licensed under the GPL
|
||||
# v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 with
|
||||
# version 1.0 of a Qt-specific exception enabling shiboken2 output to be
|
||||
# arbitrarily relicensed. (TODO)
|
||||
LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3"
|
||||
SLOT="2"
|
||||
KEYWORDS=""
|
||||
IUSE="numpy test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Minimum version of Qt required.
|
||||
QT_PV="5.9*:5"
|
||||
|
||||
#FIXME: Determine the maximum supported version of clang.
|
||||
#FIXME: Determine exactly which versions of numpy are supported.
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
=dev-qt/qtcore-${QT_PV}
|
||||
=dev-qt/qtxml-${QT_PV}
|
||||
=dev-qt/qtxmlpatterns-${QT_PV}
|
||||
<sys-devel/clang-4
|
||||
numpy? ( dev-python/numpy )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}/sources/shiboken2
|
||||
|
||||
DOCS=( AUTHORS )
|
||||
|
||||
# Ensure the path returned by get_llvm_prefix() contains clang as well.
|
||||
llvm_check_deps() {
|
||||
has_version "sys-devel/clang:${LLVM_SLOT}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#FIXME: File an upstream issue requesting a sane way to disable NumPy support.
|
||||
if ! use numpy; then
|
||||
sed -i -e '/print(os\.path\.realpath(numpy))/d' \
|
||||
libshiboken/CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
cp "${FILESDIR}"/rpath.cmake . || die
|
||||
sed -i -e '1iinclude(rpath.cmake)' CMakeLists.txt || die
|
||||
fi
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
)
|
||||
# CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable.
|
||||
LLVM_INSTALL_DIR="$(get_llvm_prefix)" cmake-utils_src_configure
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
cmake-utils_src_install
|
||||
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}2{,-${EPYTHON}}.pc || die
|
||||
}
|
||||
python_foreach_impl installation
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
DIST SQLAlchemy-1.1.10.tar.gz 5191849 BLAKE2B 775d116faea31b2a21b9d0b6b8b6012c7dd5e2d9ebc6705d517ba7def3697748f813a3e6d2362b9d5018f44823cea64c2b9758c5b03da6bbc6abcc56e860a045 SHA512 96b9d8630ceffc26eb9a707fba004c8ea8d551835a4aec45cad7185f51cca9fd16fc49715fb158cb861e2db1b2fb9baf23f3cce0c856a27a49899272b91bd9f4
|
||||
DIST SQLAlchemy-1.2.6.tar.gz 5565074 BLAKE2B 09dba15d3f1a5d413d0f787585af25b85aa2d55a48174fb27c60b51fa795c210a22cec172222bc044947e4986d971b3f78a15dbcc0910e1e39178f1799b54777 SHA512 439a8238ea2abfc05c8903fd41c19f389bd3e3e41455398dea71d353226eb96ab22aaf497552ba20500a79cc9a111c1faa5272acfa93eb6133f84ab541c3a1bb
|
||||
EBUILD sqlalchemy-1.1.10.ebuild 2132 BLAKE2B ae129735af5e63d77c9f1f5651588893aeb6e36293b411e718f0a5f90c8a3252d1f0ab64fdb6470e652f00c98a73871d8cbf13a1d13bf184965d76327c3b70d7 SHA512 9a8322c01756d6c3f567364c1f17f80de03e4e9cc21ce2169ae6e2ec212957a07efe1e3c9794344a8a348fb7ca88d6795724c9842e56952ed6a6197fd1f66f68
|
||||
EBUILD sqlalchemy-1.2.6.ebuild 2216 BLAKE2B 0992f434b8c2e895d088cc6372c44a2f407442a23fd869deb9516149414567e6451b5679f4be48bff9ecab863e80d3e2460729a0555bacbe10fce9efe198581e SHA512 9860797a30daa17dd438722cb88af5f74bac7de5bb145a2ae221d32812d8f46e62a4bab1facb43975bc9f0f04b5c2bc0780833ed70e163b37d3e70f2758f2a00
|
||||
MISC metadata.xml 313 BLAKE2B 71212a9a3076b472b488bdb4e12fef98e16881a32a8383c5fa6a9008353d2e043dfe64cb536ecef145ba74ba77ef3a6c43d705d5072d1b56e11eacfadd1d0edd SHA512 ef6298f9e38312117a0d1ab1e63f2fb21ae51ff149053603c19437b90d954827858579ab8f021cb52919aff4474a27f5a598d8515a7e5a9f2e7e35aee53c5326
|
||||
@@ -1,11 +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">SQLAlchemy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic
|
||||
|
||||
MY_PN="SQLAlchemy"
|
||||
MY_P="${MY_PN}-${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
|
||||
HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.python.org/pypi/SQLAlchemy"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples +sqlite test"
|
||||
|
||||
REQUIRED_USE="test? ( sqlite )"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests hardcoding function call counts specific to Python versions.
|
||||
rm -r test/aaa_profiling || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Create copies of necessary files in BUILD_DIR.
|
||||
# https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
|
||||
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
if [[ "${EPYTHON}" == "python3.2" ]]; then
|
||||
2to3 --no-diffs -w test || die
|
||||
fi
|
||||
# Recently upstream elected to make the testsuite also pytest capable
|
||||
# "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
|
||||
py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/. )
|
||||
use examples && dodoc -r examples
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
|
||||
optfeature "mssql support" dev-python/pymssql
|
||||
optfeature "postgresql support" dev-python/psycopg:2
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
# 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} )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic
|
||||
|
||||
MY_PN="SQLAlchemy"
|
||||
MY_P="${MY_PN}-${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
|
||||
HOMEPAGE="http://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc examples +sqlite test"
|
||||
|
||||
REQUIRED_USE="test? ( sqlite )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
<dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests hardcoding function call counts specific to Python versions.
|
||||
rm -r test/aaa_profiling || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Create copies of necessary files in BUILD_DIR.
|
||||
# https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/
|
||||
cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
if [[ "${EPYTHON}" == "python3.2" ]]; then
|
||||
2to3 --no-diffs -w test || die
|
||||
fi
|
||||
# Recently upstream elected to make the testsuite also pytest capable
|
||||
# "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}"
|
||||
py.test --verbose test || die "Testsuite failed under ${EPYTHON}"
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/. )
|
||||
use examples && dodoc -r examples
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
|
||||
optfeature "mssql support" dev-python/pymssql
|
||||
optfeature "postgresql support" dev-python/psycopg:2
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST svg_path-2.2.tar.gz 16383 SHA256 27eb684a20088885408e13ffe2556c039ee3a61556f47d25454567f82f94f7cd SHA512 9f1049abe2208c6ab7386603f02aa5c5f864f749cc31d896c9db052a17c79d302cfcb80a7f711ad090c287e5563f34760d975fe97d9db8a0547784eb8e04fa2a WHIRLPOOL 2ae266b29ec208b786834429dd91ec7feb94be5ac002aedd4b63066a69865a1617ceb58b97192263a28d08bef72bbec305bf851182b259e67741a91485ffb6bb
|
||||
EBUILD svg_path-2.2.ebuild 569 SHA256 249bcf3ee0e285a170de6970bd5d5bc0610221d4458a9cd5fe216b497e330415 SHA512 79213d5b4ad5d60673d2bbc610dcdb292e7b329d6a881bc4901a0ef4f686077c5dfedf3ac33c31fafa14510d9afaebd44782d946d880f6c5211e446d75d14889 WHIRLPOOL 1effb446d832c6182bcd1d5a8dedcf35ae7510fd4fee8838e020e3479a9d8c27456a737af5181c044e65a46b826250c6d061d609e2e716e54f91b109b809767c
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/_/.}"
|
||||
|
||||
DESCRIPTION="Path commands in SVG and parser for SVG path definitions."
|
||||
HOMEPAGE="https://github.com/regebro/svg.path"
|
||||
SRC_URI="https://github.com/regebro/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST terminaltables-3.1.0.tar.gz 278484 SHA256 c02ecf68e22374ca8226d2af314875489e59d523ebec6a363a554e4716a84723 SHA512 dc49458652fff8bc6094d316d84c9b8e9fca1a26e3230c0b668bc03ec8528793f4ef024e8032d4a56fbfabfdfd4a1142870f550f0b373ba6a42dd2e3ead3f501 WHIRLPOOL 7d28e7f468faf9644121f92d2f38d59980ec1f2cebd3f7249b5959da9a7d43c86790e4fbfa9822a1e283bfb16fac21d905def3586f05daadd531e17ea8399d00
|
||||
EBUILD terminaltables-3.1.0.ebuild 549 SHA256 036ac12056f862596bba3b0b5216f0e9a6d534831960ced450fb7524544fb562 SHA512 a108e00f5479fd2861e72c7d1acc2f5d1a1c7d237d1bd42218727682cc406c5382c8e6d2b4ff73d4352b5193df828e13d06bf899b212f73b04bd5b3bc2f014ac WHIRLPOOL 03c25445d7232f7e9c5f893a193fb3f2e575a3f6eb6bc42dc2f7e2865fb7e20271cec202b5a1d1e34bc83803e400f7237ebcd4ee12e3f1ee0e2fd6083844ce5d
|
||||
@@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easily draw tables in terminal/console applications from a list of lists of strings."
|
||||
HOMEPAGE="https://github.com/Robpol86/terminaltables"
|
||||
SRC_URI="https://github.com/Robpol86/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${RDEPEND}"
|
||||
|
||||
Reference in New Issue
Block a user