Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90814 - pasteherecore-0.1.ebuild (New Package)
Summary: pasteherecore-0.1.ebuild (New Package)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 19:32 UTC by Alex
Modified: 2007-06-23 02:23 UTC (History)
1 user (show)

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


Attachments
pasteherecore-0.1.ebuild file (pasteherecore-0.1.ebuild,612 bytes, text/plain)
2005-04-28 19:33 UTC, Alex
Details
pasteherecore-0.1.tar.bz2 file (pasteherecore-0.1.tar.bz2,4.08 KB, application/octet-stream)
2005-04-28 19:36 UTC, Alex
Details
Ebuild for pasteherecore-0.1 (pasteherecore-0.1.ebuild,986 bytes, text/plain)
2005-06-25 07:43 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2005-04-28 19:32:39 UTC
Hi!

Please find pasteherecore-0.1.ebuild and pasteherecore-0.1.tar.bz2 attached.

www.pastehere.com is a pastebin. It has remote webservice access available. This means that a user can use .NET's webservices to makes pastes on the fly. PasteHereCore is an application (written in .NET) that uses this webservice to make remote pastes. This is a command line application. The full name of the package is net-misc/pasteherecore-0.1

 - Alex

NOTE: The SRC_URI file isn't online yet, so I will be attaching it to this form.
Comment 1 Alex 2005-04-28 19:33:59 UTC
Created attachment 57534 [details]
pasteherecore-0.1.ebuild file
Comment 2 Alex 2005-04-28 19:36:07 UTC
Created attachment 57535 [details]
pasteherecore-0.1.tar.bz2 file

NOTE: I am only including this file so that it can be submitted to the mirrors.
It was not meant to be included in the CVS. (I am doing this because the file
won't be on the pastehere.com website for a while.)
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2005-05-02 18:19:14 UTC
i've not had time to test the ebuild yet, but here's a few suggestions, based on taking a peek at it:

1) If the tarball does all its work from WORKDIR, just do S=${WORKDIR} in the top of your ebuild with the rest of the variable declarations. Then you can just do "build ./" in your src_compile.

2) Smileys in failure output should be avoided.

3) your src_unpack is unnecessary. src_unpack will automatically unpack any known file types (.zip, .tar.bz2, .tar.gz, and i'm sure others) into WORKDIR for you.

4) .exe shouldn't really go into /usr/bin/, put the .NET assemblies in someplace like ${prefix}/lib/pasteherecore/ and have your wrapper script in /usr/bin/ call mono on the assembly in that locations

5) Aesthetically, no need for a blank line between each variable declaration in the beginning of the ebuild. Break them into one or two chunks (the defacto standard seems to be one chunk with 'informative' type info like homepage, description, and src_uri in one chunk, and 'build details' things like keywords, deps, IUSE, etc in another chunk).

Otherwise, looks good. Thanks for the ebuild. I'd prefer to wait til this gets hosted on the site, and then let our automatic mirroring kick in though.
Comment 4 Alex 2005-05-02 20:23:19 UTC
Thanks for the tips. This is my first ebuild actually. Just to let you know, The tarball has been uploaded to the website. The final url is http://pastehere.com/Linux/pasteherecore-0.1.tar.bz2. I am uploading a fix now.
Comment 5 Alex 2005-06-25 07:43:37 UTC
Created attachment 61913 [details]
Ebuild for pasteherecore-0.1

Notes:
* The tar file is located at:
http://www.pastehere.com/Downloads/Linux/pasteherecore-0.1.tar.bz2.
* The ebuild has "nomirror" enabled so that all downloads come from the
website.
* This ebuild could possible go into dev-dotnet/. I'll leave that up to the
devs.
Comment 6 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-23 02:23:25 UTC
The linux version has been removed from the pastehere.com website and is not supported by upstream anymore.