Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511660 - dev-python/pyusb 1.0.0b1 version bump
Summary: dev-python/pyusb 1.0.0b1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2014-05-28 05:18 UTC by Ben Chan
Modified: 2014-05-29 08:49 UTC (History)
1 user (show)

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


Attachments
pyusb-1.0.0_beta1.ebuild (pyusb-1.0.0_beta1.ebuild,757 bytes, text/plain)
2014-05-28 05:19 UTC, Ben Chan
Details
revised ebuild (pyusb-1.0.0_beta1.ebuild,777 bytes, text/plain)
2014-05-28 13:17 UTC, Ben Chan
Details
further revised ebuild: updated to use distutils-r1 and EAPI=5 (pyusb-1.0.0_beta1.ebuild,756 bytes, text/plain)
2014-05-28 14:20 UTC, Ben Chan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Chan 2014-05-28 05:18:30 UTC
pyusb 1.0.0b1 was released in 2013-10-16 (http://sourceforge.net/projects/pyusb/)

latest version in the tree is pyusb-1.0.0_alpha3. please take a look at the attached pyusb-1.0.0_beta1.ebulid for pyusb 1.0.0.b1. Thanks!

Reproducible: Always
Comment 1 Ben Chan 2014-05-28 05:19:27 UTC
Created attachment 377744 [details]
pyusb-1.0.0_beta1.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-28 12:48:11 UTC
Comment on attachment 377744 [details]
pyusb-1.0.0_beta1.ebuild

--- pyusb-1.0.0_alpha3.ebuild   2013-01-06 18:15:50.000000000 +0100
+++ -   2014-05-28 14:47:03.741383755 +0200
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyusb/pyusb-1.0.0_alpha3.ebuild,v 1.3 2013/01/06 17:15:50 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyusb/pyusb-1.0.0_beta1.ebuild,v 1.1 2014/05/27 20:10:05 benchan Exp $
 
 EAPI="3"
 PYTHON_DEPEND="*:2.5"
@@ -9,7 +9,7 @@
 
 inherit distutils

-MY_P="${P/_alpha/a}"
+MY_P="${P/_beta/b}"
 
 DESCRIPTION="USB support for Python."
 HOMEPAGE="http://pyusb.sourceforge.net/"
@@ -17,7 +17,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="*"
 IUSE=""
 
 ### This version is compatible with both 0.X and 1.X versions of libusb
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-28 12:49:22 UTC
(In reply to Jeroen Roovers from comment #2)
> -KEYWORDS="~amd64 ~arm ~ppc ~x86"
> +KEYWORDS="*"

Why do you remove all the keywords?
Comment 4 Ben Chan 2014-05-28 13:17:09 UTC
Created attachment 377764 [details]
revised ebuild

I've fixed KEYWORDS in the revised ebuild.  KEYWORDS="*" is the style we used in Chromium OS.
Comment 5 Ben Chan 2014-05-28 14:20:56 UTC
Created attachment 377772 [details]
further revised ebuild: updated to use distutils-r1 and EAPI=5

as suggested by vapier@, I updated the ebuild to use distutils-r1 and EAPI=5
Comment 6 SpanKY gentoo-dev 2014-05-28 17:53:29 UTC
they claim to support python 3, so i added 3.3/3.4 to the compat list.  at least a simple import works ;).

we'll deal with fallout in new bugs.  not like it can get any more broken.

http://sources.gentoo.org/dev-python/pyusb/pyusb-1.0.0_beta1.ebuild?rev=1.1
Comment 7 SpanKY gentoo-dev 2014-05-28 17:53:57 UTC
should be all set now in the tree; thanks for the report!

Commit message: Version bump
http://sources.gentoo.org/dev-python/pyusb/pyusb-1.0.0_beta1.ebuild?rev=1.1
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2014-05-29 08:49:26 UTC
  29 May 2014; Ian Delaney <idella4@gentoo.org> pyusb-1.0.0_beta1.ebuild:
  rm deprecated PYTHON_MODNAME

This var applies to distutils eclass & not the new -r1