Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496524 - dev-python/pythondialog-3.0.1 version bump
Summary: dev-python/pythondialog-3.0.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 18:28 UTC by Jan Vesely
Modified: 2016-07-05 00:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pythondialog-3.0.1.ebuild (pythondialog-3.0.1.ebuild,731 bytes, text/plain)
2013-12-30 18:40 UTC, Jan Vesely
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vesely 2013-12-30 18:28:42 UTC
The currently available version in portage (2.7) is limited to python2. Not to mention it's rather old. A new version (3.0.1) was released this year with python3 support.

Reproducible: Always




http://sourceforge.net/projects/pythondialog/files/pythondialog/
Comment 1 Jan Vesely 2013-12-30 18:40:19 UTC
Created attachment 366584 [details]
pythondialog-3.0.1.ebuild

This ebuild works for me, it might need some cleanup though.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-30 19:00:47 UTC
Comment on attachment 366584 [details]
pythondialog-3.0.1.ebuild

--- pythondialog-2.7.ebuild     2011-01-04 18:14:37.000000000 +0100
+++ -   2013-12-30 19:59:49.658583570 +0100
@@ -3,15 +3,13 @@
 # $Header: /var/cvsroot/gentoo-x86/dev-python/pythondialog/pythondialog-2.7.ebuild,v 1.11 2011/01/01 19:56:22 arfrever Exp $
 
 EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_DEPEND="3"
 
 inherit distutils
 
 DESCRIPTION="A Python module for making simple text/console-mode user interfaces."
 HOMEPAGE="http://pythondialog.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pythondialog/${PF}.tar.bz2"
+SRC_URI="mirror://sourceforge/pythondialog/${PV}/python3-${PF}.tar.bz2"
 
 LICENSE="LGPL-2"
 SLOT="0"


I am pretty certain that should read PV, not PF there (also in the 2.7 ebuild).
Comment 3 Jan Vesely 2013-12-30 19:52:24 UTC
(In reply to Jeroen Roovers from comment #2)
> Comment on attachment 366584 [details]
> pythondialog-3.0.1.ebuild
> 
> --- pythondialog-2.7.ebuild     2011-01-04 18:14:37.000000000 +0100
> +++ -   2013-12-30 19:59:49.658583570 +0100
> @@ -3,15 +3,13 @@
>  # $Header:
> /var/cvsroot/gentoo-x86/dev-python/pythondialog/pythondialog-2.7.ebuild,v
> 1.11 2011/01/01 19:56:22 arfrever Exp $
>  
>  EAPI="3"
> -PYTHON_DEPEND="2"
> -SUPPORT_PYTHON_ABIS="1"
> -RESTRICT_PYTHON_ABIS="3.*"
> +PYTHON_DEPEND="3"
>  
>  inherit distutils
>  
>  DESCRIPTION="A Python module for making simple text/console-mode user
> interfaces."
>  HOMEPAGE="http://pythondialog.sourceforge.net/"
> -SRC_URI="mirror://sourceforge/pythondialog/${PF}.tar.bz2"
> +SRC_URI="mirror://sourceforge/pythondialog/${PV}/python3-${PF}.tar.bz2"
>  
>  LICENSE="LGPL-2"
>  SLOT="0"
> 
> 
> I am pretty certain that should read PV, not PF there (also in the 2.7
> ebuild).
The sourceforge link is:
http://downloads.sourceforge.net/project/pythondialog/pythondialog/3.0.1/python3-pythondialog-3.0.1.tar.bz2
so ${PV} does not work.
SRC_URI="mirror://sourceforge/pythondialog/${PV}/python3-${P}.tar.bz2"
works
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2014-03-28 07:06:11 UTC
*pythondialog-3.0.1 (28 Mar 2014)
*pythondialog-2.7-r1 (28 Mar 2014)

  28 Mar 2014; Ian Delaney <idella4@gentoo.org> +pythondialog-2.7-r1.ebuild,
  +pythondialog-3.0.1.ebuild:
  revbump, convert -> distutils-r1, bump, new version supports py3, fixes Bug
  #496524