From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A63C13832E for ; Thu, 21 Jul 2016 07:00:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D398A21C038; Thu, 21 Jul 2016 07:00:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 619F821C038 for ; Thu, 21 Jul 2016 07:00:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A84A340DF6 for ; Thu, 21 Jul 2016 07:00:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B0977D1 for ; Thu, 21 Jul 2016 07:00:42 +0000 (UTC) From: "Tiziano Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tiziano Müller" Message-ID: <1469084417.f1e30763b91e77c172c2a4e1dc8f1df54e750e34.dev-zero@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/peewee/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/peewee/Manifest dev-python/peewee/peewee-2.8.1.ebuild X-VCS-Directories: dev-python/peewee/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: f1e30763b91e77c172c2a4e1dc8f1df54e750e34 X-VCS-Branch: master Date: Thu, 21 Jul 2016 07:00:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7855bda8-0c1a-468b-b89b-be0ce317ee36 X-Archives-Hash: 93626defccf6172a868924e241266aa7 commit: f1e30763b91e77c172c2a4e1dc8f1df54e750e34 Author: Tiziano Müller gentoo org> AuthorDate: Thu Jul 21 07:00:17 2016 +0000 Commit: Tiziano Müller gentoo org> CommitDate: Thu Jul 21 07:00:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1e30763 dev-python/peewee: version bump Package-Manager: portage-2.3.0_rc1 dev-python/peewee/Manifest | 1 + dev-python/peewee/peewee-2.8.1.ebuild | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index 763f11c..cf65e18 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1,3 +1,4 @@ DIST peewee-2.6.2.tar.gz 574383 SHA256 2e9ee19d6beef477a14436be6bc173d2472f6ddc0afb28763fd5a4e8fb287e35 SHA512 a38b46d39c04106ddc047f56cd8ebbf48218547a3d8f7dec693f99b9c9b82df505c1948f91155177a00797765d0758ffea79d5ee5da5cf9b59adcd4b2e269483 WHIRLPOOL bff5aa5ef22f08cda83a70b933a4e5734ffb5adaa5388b399694ed8246a92b89edecb78375e6d561aafa6768f7d22bcd3cab1623fd43665be5a6712893b6f9ee DIST peewee-2.7.4.tar.gz 608818 SHA256 ff25784ab40d58d659bc8f24e07fe891579b09f74417fca9d8d57772e514c409 SHA512 c72391316c8bd1f712bcb26d4d6e5ef386a415da536d78cade35d42bbb9c8c6d7b0494bf329bd67e3ac5b91a2d76e97365376b0e91a5c6a5b78ab1696f7576cb WHIRLPOOL acc0862963256173b7e918f5456e10dcfb2e533a9cf213841bb42d2bbcea475f8bf329f4227311163de5e9974ea06d1ab9d78b1ab25ce762c11f1d6689556196 DIST peewee-2.8.0.tar.gz 615679 SHA256 5ee271d4ca1b1904dd7a9d9912bdc2a5a47b7b54ac1e8e6950dba1b5b746a0d1 SHA512 12a225dc6d40838d223a7396ed138d1a82393f79b0b666f019e0c6f07c58c99e0a50ecf1ad61c10176a3f184f00fcde0a753f7ea49aa5a8e2a0e69832b654622 WHIRLPOOL e8f89b7c0a495769cb028a08e17e7e6f331f6281c6f04d056573c0c43428e99e26004fc73e76851daabbe65c8f768918eb4ac0c7f53fb6bf88b94f8ee2506c46 +DIST peewee-2.8.1.tar.gz 628870 SHA256 a14cfd248c837987346bada53617d7c298a2bd24e18fb4020e6d6e75bf5df05c SHA512 fd65001f6227f3b470046794f306def4a69b2637d916d4d7ee1057dab5671eaae88f32fe5345e3266829651e7529c53d9928516135af520832f34bfc0b1b9f39 WHIRLPOOL e95f14b16dd134153e4d5180a20546dfca3334c9db1e170b20d7f7c8b5e12331612f96daca7de2eddc0ffd64fe786db40b3482200fcd3268f2e1d407bd65fb72 diff --git a/dev-python/peewee/peewee-2.8.1.ebuild b/dev-python/peewee/peewee-2.8.1.ebuild new file mode 100644 index 0000000..aacf223 --- /dev/null +++ b/dev-python/peewee/peewee-2.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) +PYTHON_REQ_USE="sqlite(+)" + +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="doc examples" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +# Req'd to ensure a unique tmp.db for each python impl running the testsuite. +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + sed -i -e "s#test_suite='tests',##g;" ./setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + # Testsuite run using runtests.py does not require deps listed in previous ebuild + "${PYTHON}" ./runtests.py || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && DOCS=( examples/ ) + distutils-r1_python_install_all +}