Opened 3 years ago

Closed 3 years ago

#64360 closed request (fixed)

Port request: p5-mediawiki-api

Reported by: cooljeanius (Eric Gallager) Owned by: chrstphrchvz (Christopher Chavez)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: p5-mediawiki-api

Description

I am trying to get git-remote-mediawiki working according to these directions: https://github.com/Git-Mediawiki/Git-Mediawiki/blob/master/docs/User-manual.md

Part of it says to install the perl module MediaWiki::API. It doesn't appear that MacPorts has a port for this specific module currently:

$ port search mediawiki
mediawiki @1.23.2 (www, php)
    The wiki engine used by Wikipedia

mediawiki.el @2.3.1 (editors)
    An Emacs mode for editing MediaWiki content

p5-html-wikiconverter-mediawiki @0.590.0_2 (perl)
    HTML::WikiConverter::MediaWiki - Convert MediaWiki markup

p5-parse-mediawikidump @1.0.6_1 (perl)
    Access various MediaWiki dump files in perl

p5.28-html-wikiconverter-mediawiki @0.590.0_2 (perl)
    HTML::WikiConverter::MediaWiki - Convert MediaWiki markup

p5.28-parse-mediawikidump @1.0.6_1 (perl)
    Access various MediaWiki dump files in perl

p5.30-html-wikiconverter-mediawiki @0.590.0_2 (perl)
    HTML::WikiConverter::MediaWiki - Convert MediaWiki markup

p5.30-parse-mediawikidump @1.0.6_1 (perl)
    Access various MediaWiki dump files in perl

p5.32-html-wikiconverter-mediawiki @0.590.0_2 (perl)
    HTML::WikiConverter::MediaWiki - Convert MediaWiki markup

p5.32-parse-mediawikidump @1.0.6_1 (perl)
    Access various MediaWiki dump files in perl

Found 10 ports.

I tried installing the module via CPAN instead, but cpan seems to have broken for me lately... It'd be useful to have the module available via MacPorts for cases when CPAN isn't working, to make it easier to get started with git-remote-mediawiki (which ought to have its own port, too, btw). cpan2port doesn't seem to be able to generate a Portfile for it, either, unfortunately... (at least not for me)

Change History (5)

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

don't know about cpan2port, but you could use upt and upt-macports ports - this was work done on a few years ago during GSoC. For me that does generate a Portfile with: upt package -f cpan -b macports MediaWiki-API.

comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:3 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

cpan2port -t MediaWiki::API worked for me…should I submit the resulting portfile, or is someone else already preparing to add this port?

comment:4 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

comment:5 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Owner: set to chrstphrchvz
Resolution: fixed
Status: newclosed

In b5dd55c87c643c90886aee8e6aad1fd6d6b710e5/macports-ports (master):

p5-mediawiki-api: new port

Closes: #64360

Note: See TracTickets for help on using tickets.