New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35124 (closed submission: fixed)

Opened 11 months ago

Last modified 10 months ago

Python OAuth v1

Reported by: ctreleaven@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-oauth

Description

Request for a new port: Python library for OAuth version 1.0a. See http://pypi.python.org/pypi/oauth/1.0.1

MacPorts currently has a py-oauth2 port. As per http://hueniverse.com/2010/05/introducing-oauth-2-0/ "OAuth 2.0 is a completely new protocol and is not backwards compatible with previous versions."

A port I'm working on requires OAuth 1 to access an online video site.

Attachments

Portfile (788 bytes) - added by ctreleaven@… 11 months ago.
py26-oauth
Portfile.2 (1.1 KB) - added by ctreleaven@… 11 months ago.
Revised to use Python portgroup
Portfile.3 (1.1 KB) - added by ctreleaven@… 11 months ago.
use categories-append

Change History

comment:1 Changed 11 months ago by ctreleaven@…

Well, despite an almost no Python experience, I've created a portfile that seems to install py26-oauth successfully. I have no idea how to use the Python portgroup to support multiple versions so this uses the Python26 portgroup. Perhaps someone who know what they are doing can improve this?

Changed 11 months ago by ctreleaven@…

py26-oauth

comment:2 follow-up: ↓ 3 Changed 11 months ago by macsforever2000@…

  • Keywords py-oauth removed
  • Version 2.1.1 deleted
  • Type changed from request to submission
  • Port set to py-oauth

Please submit a unified portfile using the python 1.0 portgroup with subports for various python versions. This is the new preferred method for python ports. See py-pil as an example of how to do that.

comment:3 in reply to: ↑ 2 Changed 11 months ago by ctreleaven@…

Replying to macsforever2000@…:

Please submit a unified portfile ...

I really don't know Python at all and I have no clue how to determine which versions of Python can/should be supported. Version 2.6 seems to build OK. 2.3? 3.x? How does one tell?

Also, I don't even know how to test if I did use the Python portgroup. I haven't set up a local repository (if that is the correct term). Right now, I just 'cd' into the directory of the port I'm working on and 'sudo port checksum|build|destroot|install'. How do I test py26-oauth v. py27-oauth in that circumstance?

I only submitted the attached Portfile because I thought it might simplify the job for someone who knows what they're doing!

Changed 11 months ago by ctreleaven@…

Revised to use Python portgroup

comment:4 Changed 11 months ago by ctreleaven@…

New version of Portfile attached. By chance, I ran across mention of the subport parameter (ie sudo port -F Portfile install --subport=py26-oauth).

Changed 11 months ago by ctreleaven@…

use categories-append

comment:5 Changed 10 months ago by ctreleaven@…

With the mythtv-core.25 port now committed, could we please have a go at this one so I can try to finish mythtv-plugins.25? Thanks.

comment:6 Changed 10 months ago by pixilla@…

  • Status changed from new to closed
  • Resolution set to fixed

See r97259

Note: See TracTickets for help on using tickets.