dev-python/minidb: add missing PYTHON_REQ_USE, minor fixes
authorLouis Sautier <sautier.louis@gmail.com>
Tue, 29 Mar 2016 12:03:25 +0000 (14:03 +0200)
committerIan Delaney <idella4@gentoo.org>
Tue, 29 Mar 2016 13:52:47 +0000 (21:52 +0800)
edit to vn. 2.0.1
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1160

Signed-off-by: Ian Delaney <idella4@gentoo.org>
dev-python/minidb/metadata.xml
dev-python/minidb/minidb-2.0.1.ebuild

index 41161b684f1bb03644430e8b32fc9659d39901c6..91441069f1b919e888eba8362c9f8883ff8a9be5 100644 (file)
@@ -13,5 +13,6 @@
        <upstream>
                <remote-id type="pypi">minidb</remote-id>
                <remote-id type="github">thp/minidb</remote-id>
+               <bugs-to>https://github.com/thp/minidb/issues</bugs-to>
        </upstream>
 </pkgmetadata>
index 0db93abdd757d900c139503e1ccb379c8738acd4..c3097b05927f039f7418f27498af7ee02a013228 100644 (file)
@@ -2,15 +2,16 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python{3_4,3_5} )
+PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1
 
 DESCRIPTION="Simple SQLite-based object store"
 HOMEPAGE="http://thp.io/2010/minidb/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${PV}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="ISC"
 SLOT="0"
@@ -22,8 +23,6 @@ DEPEND="
        test? ( dev-python/nose[${PYTHON_USEDEP}] )
 "
 
-S="${WORKDIR}/${PN}-${PV}"
-
 python_test() {
        nosetests test || die "tests failed with ${EPYTHON}"
 }