mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
Merge remote-tracking branch 'remotes/sbraz/syncthing'
Pull Request: https://github.com/gentoo/gentoo/pull/990
This commit is contained in:
@@ -14,7 +14,7 @@ HOMEPAGE="http://click.pocoo.org/ https://pypi.python.org/pypi/click"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
|
||||
|
||||
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/behdad/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/numpy-1.0.2[${PYTHON_USEDEP}]"
|
||||
|
||||
@@ -13,7 +13,7 @@ SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
|
||||
@@ -20,7 +20,7 @@ if [[ ${PV} = *9999* ]]; then
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
@@ -3,3 +3,4 @@ DIST llvmlite-0.2.2.tar.gz 75171 SHA256 5771189d07da7774446e1ac6c586d31ea4293ef1
|
||||
DIST llvmlite-0.5.0.tar.gz 74434 SHA256 616b0f16366dd1eec197b7067f4618c6c5183db852e7f4203862c0343ebdd31c SHA512 aec69c841a8166896a6632a4204a53df1f19a42514c335a3dc21a9c7e7610c110a5d00b293d7013dfe497cc7c1e3ffbaedf0a80ee16970f5f33f0043bacd6aec WHIRLPOOL 737a53017e160a04f371e87abf24eb923f17b101d3b2394c276ae0d47787c617aa496428b268ee86301a2ed33a0a93b0b5d3fbc0fb293e295d38742d8a5b98e8
|
||||
DIST llvmlite-0.6.0.tar.gz 74834 SHA256 0ed6bbf850578dc99c06be3060a1067ea4993474392137760d1c020f7188a236 SHA512 7db3f774d7cff903e4a5a476eee3efd1c6f107443433ab47543eae4e28918a385534225a23e0cd000cfab65b5ebeb0a5c38d6b963090ee0943c65fb61879fc7b WHIRLPOOL 3bed14fef8defac3f217b9ecdb5a2b4d1c68cd9e19078292cc792f375345a87b4daf63ee9c6429954d5156e7c73b5ea85b3bff54c60f78fbc982067411f2eb40
|
||||
DIST llvmlite-0.8.0.tar.gz 80497 SHA256 a10d8d5e597c6a54ec418baddd31a51a0b7937a895d75b240d890aead946081c SHA512 d960dd2635d670b3ed2a79f81e5c3ada4fe0a03ac39e8f94a16a83fb62013ecbbce1a430ac48c8e6abd8fa34c37938d4ec7a0b949bd8c490f391c8dc29ce221c WHIRLPOOL 569cf60ae6b6efe63aa1af322d53cb983a4d29550557ba465ff26dbcc49bab598365cc592931cabca5f2e99b979ebb4f101d698a1c457a1ef1fa11eb89184c31
|
||||
DIST llvmlite-0.9.0.tar.gz 96549 SHA256 edf936f7c4ec7b2ad8da235a0a063e10bfab43a50395a1c8f8601a9a539ec809 SHA512 0cf3fb488d0830763066b73653b36b0ad167d4d5449159229fbbe5212c8925b49f43f79aa214c46d4f947a437597dda4cd99b76f04b1238242d1be8e4435f9f6 WHIRLPOOL 2c4d15d6fdc16ad095bdeb8b788d9d66c8f503a6f0d64783d5ce7b8b7a41cde50fbf9b05a26fc79e206431ec123bd245718dcdfa175001f2700d72dd2f683f17
|
||||
|
||||
47
dev-python/llvmlite/llvmlite-0.9.0.ebuild
Normal file
47
dev-python/llvmlite/llvmlite-0.9.0.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD="1"
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Python wrapper around the llvm C++ library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/llvmlite"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
=sys-devel/llvm-3.7*:=[multitarget]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/cmake"
|
||||
|
||||
python_prepare_all() {
|
||||
# dirty hack :\
|
||||
sed -i -e 's/^LIBS/#LIBS/' ffi/Makefile.linux || die
|
||||
sed -i -e 's/-flto$/-flto -fPIC/' ffi/Makefile.linux || die
|
||||
|
||||
# disable test using installed instance to read version info
|
||||
sed -e 's:test_version:_&:' -i llvmlite/tests/test_binding.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m "llvmlite.tests" || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -3,3 +3,4 @@ DIST numba-0.19.2.tar.gz 871394 SHA256 10bdd84a3a8dfb9b195ad7d3b11c1f52693833820
|
||||
DIST numba-0.20.0.tar.gz 895183 SHA256 62dd4eebbd8fef27a8a60b74de2f540b12223939e197877babb13bf06eba5d9f SHA512 d511ed382813471dd2b9f6d99ee7cae4b77375a3c003df44ec2954b0f16c32b0fec76b3c33df46c821f17a4d148afab6c4b2d43429548a5bc81efbebc4fb54e3 WHIRLPOOL 8345bed1965715aace541bfcde33f4a999241fac8f655d80d1bb67db5ae806924fec47e3895b2a61484474fef2d4362d15800aa5be8b1c8f1922eaeb06d432ce
|
||||
DIST numba-0.22.1.tar.gz 1101843 SHA256 2b0c95cf9c4f6390b1ff0a238499ee4cc32b3695728293e1d888cd3c15803633 SHA512 0514a04e83f800ba4dba97e5b220fd5d530e923e91769881f9df320a0eedcfb1e652fc87a1cda2d80223e38a25f85387a1930259179996bab7b7a731b86864c0 WHIRLPOOL dd554a15ea3783bfe335ed08b538eed6ec7071986ef4ad63e76e51c3d06783b38dccd0fb5b01b720eab130dbb20d8a2fe8cefd4124a6f57aeb10e74c228fad16
|
||||
DIST numba-0.23.1.tar.gz 1284771 SHA256 54359b8ef700a70f0d7a9b9aecb2c58867fd23479f556730d8b3422a132d5735 SHA512 833087ac4272d386eca0434855128773284f0f1f7cd85143088d2184781b070bf2922a7e2378ae90ba53382ffb5c547e9c2e34ec35a9423e1cf2ad9706d7c366 WHIRLPOOL 1cc91acb8acd9e14ace0be14c45e5e1abf5fc28440ad463240f8ed5b18708496b166ebb9134df32170551ac6f7e123d1dcb4897434320bb9471338c008b638ab
|
||||
DIST numba-0.24.0.tar.gz 1134646 SHA256 623fa32a9e0018dcbffb3e5ab29c87a12252e67eb1325be69abac9faaff2f8ed SHA512 ffad0fa1a92479aa7d41cbbfdace5bb8c2be49b99cf7da3ccacbc972b910e945bb763aaf1a1704c2af28c57d9384530c7303571653ff964d7470cb48704062bc WHIRLPOOL b280105aa8ccd74e689f7d1a837bd4e7833400fdb1f469810b8c01db37ada725698534cdf95aad34a5f85d1bd8b206c83fd02be1100924889487813269721ba9
|
||||
|
||||
68
dev-python/numba/numba-0.24.0.ebuild
Normal file
68
dev-python/numba/numba-0.24.0.ebuild
Normal file
@@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
|
||||
HOMEPAGE="http://numba.pydata.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/llvmlite[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3})
|
||||
virtual/python-funcsigs[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND} )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
# test phase is pointless since it errors in circa 60% of 1984 tests
|
||||
RESTRICT="test"
|
||||
|
||||
# Delete intersphinx & entry to set sphinxjp.themecore, which is absent from portage, from conf.py
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.19.2-docbuild.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Re-set them of doc build to one provided by sphinx
|
||||
if has_version ">=dev-python/sphinx-1.3.1"; then
|
||||
sed -e 's:basicstrap:classic:' -i docs/source/conf.py || die
|
||||
else
|
||||
sed -e 's:basicstrap:default:' -i docs/source/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs/ html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib* || die
|
||||
${PYTHON} -c "import numba; numba.test()" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
# doc needs obsolete sphinxjp package
|
||||
# use doc && dodoc docs/Numba.pdf
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST phonenumbers-7.2.3.tar.gz 4252048 SHA256 7a9735fc1083ddf161e4eb2800cab11abd98b06b4f384c405e4752d654f0aab3 SHA512 73d544c963e4cf33b8cd2d73ba9e4df0c3c77bc2718358ef686a549a5c11d326c4fd73dd11cea97d814732d41021c51e0675d483d133bd44be38eb65ff443689 WHIRLPOOL c455961517ef805f246e8c65ed95a868da9b1c05a20a0d33024cd9435d751c1410dbcde5fbc6520df8ac322785c4339a46db79410e430d61b8ecf852e782c41e
|
||||
DIST phonenumbers-7.2.6.tar.gz 4254183 SHA256 f8ff8b0734bc4421c61df8bf9079ad5d3294ebe4124641d059df929b07262e94 SHA512 d07cff95ae92a11bd18eea55cf9eef8d531c881442ad97dc5b5277c5604df071539d0140b0502a3baecf8c18c91a7478069f9397e9e38225cdccb7818ca3e191 WHIRLPOOL 6ec4d99dd7c65cc92a38f6a1056ff35fa16d412ed83a9e6ab89bc4324dff75ab968b63b534ddf522f3631b850f49b95f677c7197efaf1bac4e3119bcbad8d51f
|
||||
|
||||
26
dev-python/phonenumbers/phonenumbers-7.2.6.ebuild
Normal file
26
dev-python/phonenumbers/phonenumbers-7.2.6.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python port of Google's libphonenumber"
|
||||
HOMEPAGE="https://github.com/daviddrysdale/python-phonenumbers"
|
||||
SRC_URI="https://github.com/daviddrysdale/python-${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
S="${WORKDIR}/python-${PN}-release-${PV}"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
@@ -14,7 +14,7 @@ HOMEPAGE="https://wiki.gnome.org/Accessibility"
|
||||
# Note: only some of the tests are GPL-licensed, everything else is LGPL
|
||||
LICENSE="LGPL-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE="" # test
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cairo examples test +threads"
|
||||
|
||||
REQUIRED_USE="
|
||||
|
||||
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="
|
||||
|
||||
38
dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild
Normal file
38
dev-python/pyminuit/pyminuit-1.2.1-r1.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Minuit numerical function minimization in Python"
|
||||
HOMEPAGE="https://github.com/jpivarski/pyminuit"
|
||||
SRC_URI="
|
||||
https://pyminuit.googlecode.com/files/${P}.tgz
|
||||
https://pyminuit.googlecode.com/files/Minuit-1_7_9-patch1.tar.gz
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
src_configure() {
|
||||
cd "${WORKDIR}"/Minuit-1_7_9 && econf --disable-static || die
|
||||
}
|
||||
src_compile() {
|
||||
cd "${WORKDIR}"/Minuit-1_7_9 && emake
|
||||
cd "${S}"
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
cd "${WORKDIR}"/Minuit-1_7_9 || die
|
||||
default
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST pytest-httpbin-0.2.0.tar.gz 9372 SHA256 67a6d8e7890630b334e1cb38548a7118cb15930e218ece5b7a8bc94a8696ceed SHA512 a8e80979de59578a7cf16fa6cc08386bac9357bc8b48e34fc2a24cea18d531e61bf3c2474f8fc1b230dcd31641cb4bc960bab05e4bdbab98637c2fbf08671bfd WHIRLPOOL b5b532a1cc9e4b06f67787ca7ada0614b5145245934bcd796586fe0d18d186529388f608b24222a1b9372393e38f0a81df75ab205eafe134bb3287a34b122fec
|
||||
DIST pytest-httpbin-0.2.3.tar.gz 9498 SHA256 c5b698dfa474ffc9caebcb35e34346b753eb226aea5c2e1b69fefedbcf161bf8 SHA512 f3c4eb67d1b02c27d8edb42622793fa3604e3f0bd5086e4986b8f0402a9fb8d7969a466be92fc6a7e301e829dbeb300183b40dccc9ec5da1d158cb4d08274f8b WHIRLPOOL c7b4c1d4955389d180474aae59ad1ab3d86e1f81f84fb00fecd562c38a2a27cc741562a4f78fe7691fe978533dd8fbfd2c1b5da1a205cb996eea9bdc090c0072
|
||||
|
||||
38
dev-python/pytest-httpbin/pytest-httpbin-0.2.3.ebuild
Normal file
38
dev-python/pytest-httpbin/pytest-httpbin-0.2.3.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easily test your HTTP library against a local copy of httpbin"
|
||||
HOMEPAGE="https://github.com/kevin1024/pytest-httpbin http://pypi.python.org/pypi/pytest-httpbin"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/httpbin[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
# Not includd
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
PYTEST_PLUGINS=pytest_httpbin \
|
||||
py.test -v -s || die
|
||||
}
|
||||
@@ -19,7 +19,7 @@ HOMEPAGE="http://www.mate-desktop.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST wtf-peewee-0.2.3.tar.gz 60654 SHA256 d64bab9c8b9b247f21534e87a94b988afd9655d7abaa14dc7d2af0bea3a3b9da SHA512 0a8e4a6586a4521d99c35b907935286c20b9106214a9826960073e710fc0a91c68402b9812d2b0119263786f8e48bdcacf999044ade9f3a27afa9bc7fd058926 WHIRLPOOL b44d3480d274f26ff84993c8941c473e6104bab8cd65bd8befb903dc9f2d6fad16299d6b4fc5f3b8af822dbc6aa9781dbe9ba43da6fb2f2dcf929578d3eac7ea
|
||||
DIST wtf-peewee-0.2.4.tar.gz 60869 SHA256 e771daf99ec6ecab0771742f3bb104058cd5e0b72ad404c6d278b6eefc116349 SHA512 f63ecae4b39873124d11408a58732cc147a7b8a68b7f19be1f8ff67c4847b7daddd9f62c180a723af00176d2d13531fa30d076cf64ea618c260da522555ec7e7 WHIRLPOOL 0fcbc0c919e1df3af1f5d2787ebb8934c697e7dc6f65c9b264306d62a9b552e8969658c7cf6654f260b0e902b4aa3708aed694b36b4262cbf4e3e49aa2c9e43e
|
||||
DIST wtf-peewee-0.2.5.tar.gz 60905 SHA256 79bc345a1c543d78deaa0767f792c152abb34d9a90b98cbd65ac4cce8849d00b SHA512 10758f0617d28baee850d6a2f6041eaf16ac9accef3be51d8156bd0c387e6324708668c4c681f3a7fd7da309b6546e96e518d219905ac9148d51e59959bb9129 WHIRLPOOL 93c2518e6636536f9f57035468a76d3dd5477e8fdbed3bfbdbe652a91c6abbedd1835c7dd3031f49986786e408ac88d99710bcd40254cb3fe09e25a65e403c6b
|
||||
|
||||
36
dev-python/wtf-peewee/wtf-peewee-0.2.5.ebuild
Normal file
36
dev-python/wtf-peewee/wtf-peewee-0.2.5.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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
|
||||
|
||||
DESCRIPTION="Small python ORM"
|
||||
HOMEPAGE="https://github.com/coleifer/peewee/"
|
||||
SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND=">=dev-python/peewee-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/wtforms[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( "${RDEPEND}" )"
|
||||
|
||||
python_prepare_all() {
|
||||
# https://github.com/coleifer/peewee/issues/361
|
||||
sed -e s':test_null_form_saving:_&:' -i "${PN/\-/}"/tests.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" ./runtests.py || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( example/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user