Gentoo ebuild

Asked by comprookie2000

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

EAPI="2"

DESCRIPTION="a url shortening command line application that supports various sites"
HOMEPAGE="https://launchpad.net/surl"
SRC_URI="http://launchpad.net/surl/trunk/0.5/+download/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="virtual/python"
RDEPEND="${DEPEND} dev-python/simplejson"

src_install() {
 distutils_src_install
}

Question information

Language:
English Edit question
Status:
Solved
For:
surl Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Savvas Radevic (medigeek) said :
#1

Thanks for the ebuild package! Is it possible to be included in the official gentoo repository?
I looked at http://bugs.gentoo.org/158104 but it seems that there's another surl package - it's the one from http://sourceforge.net/projects/surl and I'm not sure if it's in the official repository, only the overlays as far as I can see.

Revision history for this message
comprookie2000 (david-linuxcrazy) said :
#2

OK, yes that surl was changed to surl, I guess i could rename it to pysurl. The other surl is in the sunrise overlay so a new name would have to be used. I updated the ebuild after I talked to some other developers, I am just a Staff member at the moment. I have my own overlay that I use to test ebuilds I write as I am learning. Here is the updated ebuild, and by the way, nice program :)

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

DESCRIPTION="a url shortening command line application that supports various sites"
HOMEPAGE="https://launchpad.net/surl"
SRC_URI="http://launchpad.net/surl/trunk/0.5/+download/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="virtual/python"
RDEPEND="${DEPEND} dev-python/simplejson"

Revision history for this message
comprookie2000 (david-linuxcrazy) said :
#3

OK here is an ebuild to change the name to pycurl;

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

MY_PN="surl"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="a url shortening command line application that supports various sites"
HOMEPAGE="https://launchpad.net/surl"
SRC_URI="http://launchpad.net/surl/trunk/0.5/+download/${MY_P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="virtual/python"
RDEPEND="${DEPEND} dev-python/simplejson"

S="${WORKDIR}/${MY_P}"

Revision history for this message
Savvas Radevic (medigeek) said :
#4

> OK, yes that surl was changed to surl, I guess i could rename it to pysurl. The other surl is in the sunrise overlay so a new name would have to be used.

I am not 100% sure, but I think N. Dan Smith (at the gentoo bug) is actually Nathan Smith (developer of surl). I had asked the developer of surl at sourceforge about this, he approved the surl name:
https://launchpad.net/surl/+announcement/3246

pysurl is fine by me!

> nice program :)
Thank you! I'll try my best to make it grow in my free time. :)

Revision history for this message
Savvas Radevic (medigeek) said :
#5

Is there a repository link of your unofficial overlay? I'd like to announce it.

Revision history for this message
Savvas Radevic (medigeek) said :
#6

Solved