Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 699160

Summary: dev-python/vulture-1.1 version bump
Product: Gentoo Linux Reporter: Sander Sweers <Sander.Sweers>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sander Sweers 2019-11-02 15:58:08 UTC
I wanted to use it on a codebase that had function annotation and the version currently in portage does not support this. Below patch works for me and you may do with it as you will.

* Bump to eapi 7
* Update URLS to github
* Add python 3.7

--- /usr/portage/dev-python/vulture/vulture-0.10.ebuild	2019-04-17 10:12:21.000000000 +0200
+++ ./vulture-1.1.ebuild	2019-11-02 16:40:32.431344167 +0100
@@ -1,19 +1,19 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI="7"
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
 
 inherit distutils-r1
 
 DESCRIPTION="find unused classes, functions and variables in your code"
-HOMEPAGE="https://bitbucket.org/jendrikseipp/vulture https://pypi.org/project/vulture/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="https://github.com/jendrikseipp/vulture https://pypi.org/project/vulture/"
+SRC_URI="https://github.com/jendrikseipp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DOCS=( README.txt NEWS.txt )
+DOCS=( README.rst NEWS.rst )
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-24 06:15:49 UTC
Mass-closing bugs for removed packages.