Updated python packages

This commit is contained in:
layman 2019-07-12 14:06:44 +02:00
parent a127e54cbe
commit 7c513581c3
45 changed files with 217 additions and 975 deletions

View File

@ -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

View File

@ -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 = []

View File

@ -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 = []

View File

@ -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())

View File

@ -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 = []

View File

@ -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. Pythons 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>

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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)

View File

@ -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>

View File

@ -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
}

View File

@ -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

View File

@ -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>

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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}"

View File

@ -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

View File

@ -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}"

View File

@ -0,0 +1,4 @@
AUX pstoedit-3.60-libdl.patch 428 BLAKE2B 8ed39e1a13da74ccecaa2aeec57447fc75b682c9ea5a8fe6586052fd766bc9ab23cb76bdc56bb613cb43672f6d10a05cfaa8bc860865d2586673ab4a9c8642aa SHA512 dc29caf4b1bf1e6ce7cc73fd5ae1682f0aba8a798f632d29cca450bf3883afe54142ea06fbe6d9aa07f2580450780afe1c671cb1c37f1dd800582b2036797f73
DIST pstoedit-3.73.tar.gz 1276849 BLAKE2B 8d5b10a5acc4658111073bbe4b5590be4b4002bbf751b50462ecd8c8f268e9a6f54bc940ed8c669722077c1b27240401c5ba9aea7c9420a4420bfe8dc862e07d SHA512 77823d77dcec8604decab03cee86edb1ef0a6c56b8dd01a65ab6431d9345bc6a2140076f5d5572fd5221b7f381a07d14b2a45e66cff2a6e12ab7417cd95113b6
EBUILD pstoedit-3.73.ebuild 1328 BLAKE2B 7b6b3efb9ff6dea3571901a5582de600f6f92ce47c885e7f7ed5879f965e452dbcf93a35b83b7effeb5f1e01da49ade7ee111a854b6ec4da8cd65f59c827e819 SHA512 cfbfc7b8834bf6b37fc62c756de9edd59226022adb41b0648619dfd62e4329c2bd37a5717c861659d461b24c9263316e15e1b9536bbadc5b64982226c44b14e7
MISC metadata.xml 709 BLAKE2B 001acbe9effb2a5523a46af676fed5a4ae513b04a96454ba6b0f1bd25130f9d8ffe5ad46c3dc55a276a47904d0e29f0e58dcd9d966ef4b16cde525ac5d6debde SHA512 36f14c4cce30c5a2d9f581ad02c61d7b8fc1de7bb613c3d1d1741a7753e215816c32846cf8c93f4905da839523d6a1e624beae66366770f102291e7219df0bda

View File

@ -0,0 +1,13 @@
diff --git a/src/Makefile.am b/src/Makefile.am
index 6b33220..30c9f2e 100755
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -139,7 +139,7 @@ libpstoedit_la_SOURCES = \
genericints.h \
version.h
-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl -lm
+libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} ${LIBLD_LDFLAGS} -lm
libpstoedit_la_LDFLAGS = -no-undefined
pstoedit_SOURCES = cmdmain.cpp

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>tex@gentoo.org</email>
<name>Gentoo TeX Project</name>
</maintainer>
<maintainer type="project">
<email>printing@gentoo.org</email>
<name>Gentoo Printing Project</name>
</maintainer>
<use>
<flag name="emf">Enable <pkg>media-libs/libemf</pkg> support</flag>
<flag name="flash">Enable <pkg>media-libs/ming</pkg> SWF support</flag>
<flag name="pptx">Enable support for generating PowerPoint pptx files</flag>
</use>
<upstream>
<remote-id type="sourceforge">pstoedit</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,63 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
HOMEPAGE="https://sourceforge.net/projects/pstoedit/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="emf flash imagemagick plotutils pptx static-libs"
RDEPEND="
>=media-libs/gd-2.0.35-r1:=
>=app-text/ghostscript-gpl-8.71-r1
emf? ( >=media-libs/libemf-1.0.3 )
flash? ( >=media-libs/ming-0.4.3 )
imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] )
plotutils? ( media-libs/plotutils )
pptx? ( dev-libs/libzip )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-3.60-libdl.patch
)
src_prepare() {
default
sed -i \
-e '/CXXFLAGS="-g"/d' \
-e 's:-pedantic::' \
configure.ac || die
eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_with emf) \
$(use_with imagemagick magick) \
$(use_with plotutils libplot) \
$(use_with flash swf) \
$(use_with pptx)
}
src_install() {
default
doman doc/pstoedit.1
dodoc doc/*.txt
docinto html
dodoc doc/*.htm
find "${ED}" -name '*.la' -delete
}

View File

@ -0,0 +1,3 @@
DIST gerbv-2.7.0.tar.gz 5691407 BLAKE2B 458440dd69f20fee18ce09953c7403d783b2b7df1bf977e192b1ac877ebd9ed535ef7712417e112cff82d95e1c3752ae1dd4d88dfe14dea45df7c959337cb6ff SHA512 a940de027a9cdfdc513b0740cb402d312ae33bb7f002f80ee5f3e800aa5d01b86ff277538d8a19a309d852e248b2c8136645ede2d5d33456e5bfb49336c1256e
EBUILD gerbv-2.7.0.ebuild 1188 BLAKE2B 8ee4075ce97046f0b1e4939cab826136a867452765c14710a2166dc28f4f0d36ed5162ae7588571ffa88ff02bccf0428606e7b95d399908a10abb907d96178a2 SHA512 892a0ec1e649e5e5a107dd7694498d077401145c5deb7e3a2088bb51195a48664a8cea2a465fa9fd51298d06ab69f372cb1bee4bddcc8dda1c429a9bdcafce5c
MISC metadata.xml 802 BLAKE2B c6db09de31370176bf6d1717c38b955f03037e24e322e20cfaac08747e403d146fc036358e4faeb81135b3e2dc3945da6a7d029a1256d0e26d3cd69c2afa0afc SHA512 cd322dbcdba34e76f450b4368e2a3eb63885726c09f8b8baad3137cc8e5e8e8537776fd776b86112b2fb71ae5720490dda586ca805e0ba8662744703eed25982

View File

@ -0,0 +1,63 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit autotools eutils gnome2-utils xdg-utils
DESCRIPTION="A RS-274X (Gerber) and NC drill (Excellon) file viewer"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://gerbv.geda-project.org/"
IUSE="doc examples static-libs unit-mm"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
RESTRICT="test"
RDEPEND="
x11-libs/gtk+:2
x11-libs/cairo"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
eapply_user
eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_enable unit-mm) \
--disable-update-desktop-database
}
src_install () {
default
dodoc AUTHORS BUGS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO
rm doc/Doxyfile.nopreprocessing
if use doc; then
find doc -name "Makefile*" -exec rm -f '{}' \;
dodoc -r doc/*
fi
if use examples; then
find example -name "Makefile*" -exec rm -f '{}' \;
dodoc -r example/*
fi
prune_libtool_files
}
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-electronics@gentoo.org</email>
<name>Gentoo Electronics Project</name>
</maintainer>
<longdescription>
Gerbv is a viewer for Gerber RS-274X files, Excellon drill files, and CSV
pick-and-place files. (Note: RS-274D files are not supported.)
The core functionality of gerbv is located in a separate library
(libgerbv), allowing developers to include Gerber
parsing/editing/exporting/rendering into other programs.
</longdescription>
<use>
<flag name="unit-mm">Set default unit for coordinates in status bar to mm</flag>
</use>
<upstream>
<remote-id type="sourceforge">gerbv</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1 +1,2 @@
EBUILD minipro-9999.ebuild 584 BLAKE2B 60bdea5a52b745c861cf79e092d3ae8a795234b18b375d14b7843f0ca542b227d14477802ed9164f6a29b61358df947196ba005b63fff8e79e30143fc27af4b5 SHA512 ab910029e7a05a8b291a9140e52caa1c74299988458d95de510c2e885d0473dea3a4ff1ba31123017f417b2ef1bd8806a412cfe88cfe4ce8ed512257a17aee80
AUX minipro-9999-firmware-03.2.86.patch 1008 BLAKE2B 83500ef8376c0af9800d2e1986b2143795f0a6ca935a5efe34447a3b3ff9b0384c403e7d548f3cc6a7021eb4eb91605e81cfe4bbdbe760004827abe7917b3edd SHA512 a05e9eeed2144d75d1b0bdc7886f5c108a5207faedbe0e96cfa1d8cfd043f90e6ce5cff5bbf6782498d2cfd9b89cb90d566f21977872810cf74573578b7b8cf6
EBUILD minipro-9999.ebuild 719 BLAKE2B 4538eee29ae400fc28aaee11dda03bd517db5481fd7438aa76410a76b69f5a2f0b9c3863e81ed640f28f9552aed0ed71824f764da3fe3bc43986100b21714433 SHA512 f22f3ae07fb3887e75802cb53b1645f438f274c3ea15bf79218c1b270a6e5bf2e9bac598238cc7c0d7f4d5d94d03c22d0cb5d15d0aeb40395409bf85a78b9363

View File

@ -0,0 +1,19 @@
Gemeinsame Unterverzeichnisse: minipro-9999.orig/bash_completion.d und minipro-9999/bash_completion.d.
Gemeinsame Unterverzeichnisse: minipro-9999.orig/debian und minipro-9999/debian.
Gemeinsame Unterverzeichnisse: minipro-9999.orig/dumpic und minipro-9999/dumpic.
Gemeinsame Unterverzeichnisse: minipro-9999.orig/.git und minipro-9999/.git.
Gemeinsame Unterverzeichnisse: minipro-9999.orig/man und minipro-9999/man.
diff -u minipro-9999.orig/minipro.c minipro-9999/minipro.c
--- minipro-9999.orig/minipro.c 2019-04-04 13:36:28.336095129 +0200
+++ minipro-9999/minipro.c 2019-04-04 13:38:01.452689135 +0200
@@ -181,7 +181,7 @@
void minipro_get_system_info(minipro_handle_t *handle, minipro_report_info_t *info)
{
- uint8_t msg[sizeof(*info)];
+ uint8_t msg[sizeof(*info)*2];
memset(info, 0x0, sizeof(*info));
memset(msg, 0x0, sizeof(msg));
Gemeinsame Unterverzeichnisse: minipro-9999.orig/public und minipro-9999/public.
Gemeinsame Unterverzeichnisse: minipro-9999.orig/udev und minipro-9999/udev.

View File

@ -3,7 +3,7 @@
EAPI=6
inherit bash-completion-r1 git-r3 udev
inherit bash-completion-r1 git-r3 udev eutils
DESCRIPTION="A free and open TL866XX programmer"
HOMEPAGE="https://gitlab.com/DavidGriffith/minipro"
@ -17,9 +17,16 @@ IUSE=""
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
#src_prepare() {
# epatch "${FILESDIR}/${P}-firmware-03.2.86.patch"
#
# default
#}
src_install() {
dobin ${PN}{,hex}
udev_dorules udev/rules.d/80-${PN}.rules
udev_dorules udev/60-${PN}.rules
udev_dorules udev/61-${PN}-{plugdev,uaccess}.rules
doman man/${PN}.1
dobashcomp bash_completion.d/${PN}
bashcomp_alias ${PN} ${PN}-query-db

View File

@ -1,5 +0,0 @@
AUX pulseview.desktop 210 BLAKE2B 5dd3d76eae8998a0b62d65259da4b687b810c84d921dd960ea6a5b8973e7aa24a952a60d1e46d9cb1a42073308b47bbb9d80cb3b052cedebd97d7e2b1218f871 SHA512 1a40fc25562ecada2b786606ffa873625fa25e7e142fd2b4081230cbfbaef94adb1076bc306d1c3bbbf226b1786c91b43d447d7d7d6ac46d7bf4faeb1f843dbe
DIST pulseview-0.3.0.tar.gz 188602 BLAKE2B bc1db5ca42779f3fdde4e00d1a21e039f62a8ef8c4151b283563f9897a73028d98d5db5704fa584b3c32217e2dc048ef89eb09d052dc330f1ea47d1f8db73ad5 SHA512 81c509ef3e548ab8ff29633a07c280cee1fba5cc94db7fc1fbc64822eccb905ab5fb4126392cabe0c089e51896a02e0fbc6c0f265bf728cee6ac6651c3ab883a
EBUILD pulseview-0.3.0.ebuild 1366 BLAKE2B 04ec1762bf4e887746aaa5a9c19b1cb4644f5ad8a6db3486076a87e53e0df6053ce3067c8f666083970ab88447b79fa33d62a37c27326be40241fd426b2b7392 SHA512 81153a6e20eadcc9e318e07bf4a473a8541deae89e8a39dc052abe3bbf31e41ba3a72ef50692f8f94d96758761f0982e1c7cbe702f7a1c230c1f82fa6acb121e
EBUILD pulseview-9999.ebuild 1231 BLAKE2B ead30cc1e017fa743bfa9563befbf33749d301c2900e495c8870bdf2927c4412affcc03759c60b49be1bd444832384ee0d5ada9484b641a7350789cbf6a3f915 SHA512 68658d657131372485a86a3236d9b6b97590a2afc9d27c4a64d90dfec2a7bec855353aaa8f81db28769427822642bd9776687a862c263f830d47bc4cba9889d5
MISC metadata.xml 333 BLAKE2B b4981e29ae436b82875daf955c31085e4bade0ce53b9de677c68f4fed6ef63cd8610ae995989eb659f1d205a072d3f87c8aac02b422b3e30a3baac9eda92dfa2 SHA512 f7f0484072e7c2486a176c29814d7a390d8e44d01593d75ed51231e5c67e7226e576da17410da01281b16ed31361c1724e60026d7df06b580e29901a3f89d2dd

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Version=1.0
Name=Pulseview
GenericName=Pulseview
Comment=Qt based logic analyzer GUI for sigrok
Exec=pulseview
Icon=pulseview
Terminal=false
Type=Application
Categories=Development;Electronics;

View File

@ -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>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
<use>
<flag name="decode">Enable decoding of protocols while capturing</flag>
</use>
</pkgmetadata>

View File

@ -1,65 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 python3_6 )
inherit cmake-utils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Qt based logic analyzer GUI for sigrok"
HOMEPAGE="http://sigrok.org/wiki/PulseView"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode qt4 qt5 static"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} ) ^^ ( qt4 qt5 )"
RDEPEND="
>=dev-libs/boost-1.53:=
>=dev-libs/glib-2.28.0:2
>=dev-cpp/glibmm-2.28.0:2
>=sci-libs/libsigrok-0.4.0[cxx]
qt4? (
>=dev-qt/qtcore-4.5:4
>=dev-qt/qtgui-4.5:4
>=dev-qt/qtsvg-4.5:4
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtsvg:5
)
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( HACKING NEWS README )
src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=TRUE
-DENABLE_DECODE=$(usex decode)
-DSTATIC_PKGDEPS_LIBS=$(usex static)
-DFORCE_QT4=$(usex qt4)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
newicon "${S}"/icons/sigrok-logo-notext.png ${PN}.png
domenu "${FILESDIR}"/${PN}.desktop
}

View File

@ -1,59 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 python3_6 )
inherit cmake-utils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Qt based logic analyzer GUI for sigrok"
HOMEPAGE="http://sigrok.org/wiki/PulseView"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode qt4 qt5 static"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} ) ^^ ( qt4 qt5 )"
RDEPEND="
>=dev-libs/boost-1.53:=
>=dev-libs/glib-2.28.0:2
>=dev-cpp/glibmm-2.28.0:2
>=sci-libs/libsigrok-0.4.0[cxx]
qt4? (
>=dev-qt/qtcore-4.5:4
>=dev-qt/qtgui-4.5:4
>=dev-qt/qtsvg-4.5:4
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtsvg:5
)
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( HACKING NEWS README )
src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=TRUE
-DENABLE_DECODE=$(usex decode)
-DSTATIC_PKGDEPS_LIBS=$(usex static)
-DFORCE_QT4=$(usex qt4)
)
cmake-utils_src_configure
}

View File

@ -1,4 +0,0 @@
DIST sigrok-cli-0.6.0.tar.gz 206733 BLAKE2B 1e157a3e262a810482ea95ff0660eacadecf102315e9c79a1defec7a7da73ec40f971e3bf616ea4a2d4036a5ad54cfcfb2a06e1edfbb64f8e9408bed3641fe15 SHA512 c60c0ca0897d8d6764f04f3ae46b0715c8e4f7d6bb9af1219419a961b6d0c7f2eb5ae61d98cc6746b0403d2bf6bea7d243e539a53ca53c68da50a4f262d0f6c0
EBUILD sigrok-cli-0.6.0.ebuild 903 BLAKE2B 695c6a33254cc1b4f44e4b8a527d7c299774f144b01238a383ecdf312d2c6d547c2dc7f50947c10816165ffb8030d9c9cb0a71a4acada2af84b4ed6772a06ad1 SHA512 be716ce7e4de960ad3bd9d0c7e4c2a494cde61c23515df2307fa19ed6f41e55939e841fc7a13e48633f5c4cfc4d8002b3764a64fbc02ba8762ba16432e3e8f17
EBUILD sigrok-cli-9999.ebuild 903 BLAKE2B 695c6a33254cc1b4f44e4b8a527d7c299774f144b01238a383ecdf312d2c6d547c2dc7f50947c10816165ffb8030d9c9cb0a71a4acada2af84b4ed6772a06ad1 SHA512 be716ce7e4de960ad3bd9d0c7e4c2a494cde61c23515df2307fa19ed6f41e55939e841fc7a13e48633f5c4cfc4d8002b3764a64fbc02ba8762ba16432e3e8f17
MISC metadata.xml 333 BLAKE2B b4981e29ae436b82875daf955c31085e4bade0ce53b9de677c68f4fed6ef63cd8610ae995989eb659f1d205a072d3f87c8aac02b422b3e30a3baac9eda92dfa2 SHA512 f7f0484072e7c2486a176c29814d7a390d8e44d01593d75ed51231e5c67e7226e576da17410da01281b16ed31361c1724e60026d7df06b580e29901a3f89d2dd

View File

@ -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>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
<use>
<flag name="decode">Enable decoding of protocols while capturing</flag>
</use>
</pkgmetadata>

View File

@ -1,42 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 python3_6 )
inherit python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Command-line client for the sigrok logic analyzer software"
HOMEPAGE="http://sigrok.org/wiki/Sigrok-cli"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND=">=dev-libs/glib-2.28.0
>=sci-libs/libsigrok-0.4.0
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
eapply_user
}
src_configure() {
econf $(use_with decode libsigrokdecode)
}

View File

@ -1,42 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 python3_6 )
inherit python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Command-line client for the sigrok logic analyzer software"
HOMEPAGE="http://sigrok.org/wiki/Sigrok-cli"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND=">=dev-libs/glib-2.28.0
>=sci-libs/libsigrok-0.4.0
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
eapply_user
}
src_configure() {
econf $(use_with decode libsigrokdecode)
}

View File

@ -1,6 +0,0 @@
AUX libsigrokdecode-0.3.0-configure-test.patch 859 BLAKE2B a66a6c7023b961b4b6d17f8a15ca4ac4d525d94744cdea0e2d6ebc90ff65f3e08721baac23f4714de3ed5376121d8760c72fc3ef4e51dff94d6a28c549c357ab SHA512 466f21110fa3a8dec268f0b28520fea3497fa36fa7e8a93b98ac9dc8d36ac2172f847a02814625fb2a24740c19dee4ffc06e889727a0385d2a848a72552819ae
AUX libsigrokdecode-0.3.0-no-check-linkage.patch 1002 BLAKE2B 0af12fda705aa507ddbcb1f7133f2e1d90dd0214c35ef9875843ae843c56693d90e027fa975892beaca8ec1079c29f3eb51c8092870c02878af5cec653aa5c65 SHA512 580b3f635fd050341c5c12ce6c5e2266f50543920fd70008b8f4c52077ecce0dfe6bd19134c8deea4ca6b24eaf0d177e44e96290c015ba6bf74fdd7bd578c74c
DIST libsigrokdecode-0.4.1.tar.gz 751546 BLAKE2B b1625714a75e481d94956bd64af264c87b440c0a236f19ff02d18cc16964b701de8799a81943f4e9ec1181b1906c5e62deca98fbbbc30dfbdf8bff2208f86bc6 SHA512 b072001190e80a194986524fd4de4d32f4559d618b151a3dbfa2c63b292c8a490535cb7479cfa665c4e8d3798251a5d6f5ecfa456ca669237237ffced3e88272
EBUILD libsigrokdecode-0.4.1.ebuild 1060 BLAKE2B c2c2d956193168140bcce1e2a8ab53da374f0cef5b9a9dfe5d7543c5a35d044c125c6695547a151b97ef0c8d03b7c9d169626166782637720dcea4bc46290056 SHA512 951e4158ef8a257b9d15d886728cf3e59c511622ffe1a02e9094ea56c8fe644de850dabe4fe138dd43f122bc6ae8f289e95d85ac6cd88cbe59e90ff55929f90b
EBUILD libsigrokdecode-9999.ebuild 1070 BLAKE2B 0fb380b52d1583cf09f6beff221800f61cbb84e64a9942ee87143ae2e7d37c9b0b3adfb1893d99c2179ef88fdfd15e09be58e0d374e7e1dbf464a43ebcd3f96a SHA512 5cb16084bedde4661c56c49a74769b8f89f475287849859ccbf1e9ac2b4d094af42b17edcdcb69a74db8335f81aa4f93a1f299ce9cabeb58ed29374021cb2527
MISC metadata.xml 247 BLAKE2B e46b8f2d053251af5cb591bb2ee5e35089c4e8174ee2e7a3c504db23f844b65083d4a3e5198da3977ad3e98b67cab2e0de686a3c62009b487c1e64785a8ff65d SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e

View File

@ -1,28 +0,0 @@
https://sourceforge.net/p/sigrok/mailman/message/32459769/
From dc83770847c39934f5cbc63c8652124fafcb8d0b Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 14 Jun 2014 01:37:12 -0400
Subject: [PATCH 1/2] fix test operator
The == operator is not in POSIX.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9527379..3f661ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,7 +125,7 @@ AC_SUBST(MODNAME_PYTHON)
# We also need to find the name of the python3 executable (for 'make install').
# Some OSes call this python3, some call it python3.2, etc. etc.
AC_CHECK_PROGS([PYTHON3], [python3.4 python3.3 python3.2 python3])
-if test "x$PYTHON3" == "x"; then
+if test "x$PYTHON3" = "x"; then
AC_MSG_ERROR([cannot find python3 executable.])
fi
--
2.0.0

View File

@ -1,30 +0,0 @@
https://sourceforge.net/p/sigrok/mailman/message/32459770/
From 27ecf0c85482786f7617571c690797ab3f07f795 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 14 Jun 2014 01:38:58 -0400
Subject: [PATCH 2/2] do not add check to common cflags/libs
Only the unittests use these flags, so don't go linking them in for
the main library too.
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3f661ec..10213a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,8 +134,7 @@ AC_SEARCH_LIBS([pow], [m])
# The Check unit testing framework is optional. Disable if not found.
PKG_CHECK_MODULES([check], [check >= 0.9.4],
- [have_check="yes"; CFLAGS="$CFLAGS $check_CFLAGS";
- LIBS="$LIBS $check_LIBS"], [have_check="no"])
+ [have_check="yes"], [have_check="no"])
AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
# libsigrok is optional (only used for the protocol decoder test framework).
--
2.0.0

View File

@ -1,54 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit eutils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="provide (streaming) protocol decoding functionality"
HOMEPAGE="http://sigrok.org/wiki/Libsigrokdecode"
LICENSE="GPL-3"
SLOT="0"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=dev-libs/glib-2.24.0
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
eapply_user
}
src_configure() {
econf $(use_enable static-libs static)
}
src_test() {
emake check
}
src_install() {
default
prune_libtool_files
}

View File

@ -1,54 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 python3_6 )
inherit eutils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="provide (streaming) protocol decoding functionality"
HOMEPAGE="http://sigrok.org/wiki/Libsigrokdecode"
LICENSE="GPL-3"
SLOT="0"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=dev-libs/glib-2.24.0
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
eapply_user
}
src_configure() {
econf $(use_enable static-libs static)
}
src_test() {
emake check
}
src_install() {
default
prune_libtool_files
}

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
</pkgmetadata>