Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156109 - app-portage/epkg-1.2 (New package)
Summary: app-portage/epkg-1.2 (New package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: https://github.com/norayr/epkg
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-11-24 03:24 UTC by Norayr Chilingaryan
Modified: 2021-11-23 09:45 UTC (History)
2 users (show)

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


Attachments
epkg-1.2.ebuild (epkg-1.2.ebuild,1.26 KB, text/plain)
2006-11-24 03:29 UTC, Norayr Chilingaryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Norayr Chilingaryan 2006-11-24 03:24:10 UTC
Hi!

Please find attached epkg-1.2.ebuild
epkg implements same features as dpkg for debian and equery for gentoo.
It is also a dependency for ept-get, which I'll commit few minutes later.
For more see http://epkg.sourceforge.net/
Comment 1 Norayr Chilingaryan 2006-11-24 03:29:39 UTC
Created attachment 102645 [details]
epkg-1.2.ebuild
Comment 2 Paul Bredbury 2006-11-24 03:44:20 UTC
Corrections/additions:

Should be:  # $Header: $

SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

IUSE=""

The src_compile function can probably be removed.

The dodir line is not needed.

Should be "dobin epkg || die", so that Portage does not report success when that fails.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-11-24 03:56:59 UTC
KEYWORDS should contain what you've actually tested *only* and should be ~arch, not stable. On a more generic note, did you try portage-utils (esp. qfile and qlist) before inventing another tool?
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2006-11-24 04:20:24 UTC
> dodoc {AUTHORS,README,LICENSE,CREDITS}
can/should be 'dodoc AUTHORS README LICENSE CREDITS'.

Defining function before functions isn't really needed either.

(In reply to comment #2)
> The src_compile function can probably be removed.
It can and should.
Comment 5 Norayr Chilingaryan 2006-11-24 04:43:07 UTC
Comment on attachment 102645 [details]
epkg-1.2.ebuild

it seems i've done some changes according to your suggestations.
What's now?
Comment 6 Norayr Chilingaryan 2006-11-24 05:12:54 UTC
Comment on attachment 102645 [details]
epkg-1.2.ebuild

># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/local/portage/app-portge/epkg/epkv-1.2.ebuild
>
>DESCRIPTION="dpkg workalike which accepts equery syntax as well"
>HOMEPAGE="http://epkg.sf.net"
>SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
>
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc-macos ppc64 s390 sparc x86"
>
>DEPEND="dev-lang/fpc"
>
>function src_compile(){
>   emake || die "emake failed"
>}
>
>function src_install(){
>   dodir /usr/bin
>   dobin epkg
>   dodoc {AUTHORS,README,LICENSE,CREDITS}
>}
>
Comment 7 Charlie Shepherd (RETIRED) gentoo-dev 2006-11-24 05:44:44 UTC
(In reply to comment #5)
> it seems i've done some changes according to your suggestations.
> What's now?

You've changed SRC_URI to use mirror://sourceforge, but haven't made any of the other changes suggested.
Comment 8 Norayr Chilingaryan 2006-11-24 07:41:50 UTC
Comment on attachment 102645 [details]
epkg-1.2.ebuild

># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/local/portage/app-portge/epkg/epkg-1.2.ebuild
>
>DESCRIPTION="dpkg workalike which accepts equery syntax as well"
>HOMEPAGE="http://epkg.sf.net"
>SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
>
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~amd64 ~ppc ~x86"
>
>DEPEND="dev-lang/fpc"
>
>
>function src_install(){
>   dobin epkg
>   dodoc AUTHORS,README,LICENSE,CREDITS
>}
>
Comment 9 Norayr Chilingaryan 2006-11-27 01:47:42 UTC
Comment on attachment 102645 [details]
epkg-1.2.ebuild

># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/local/portage/app-portge/epkg/epkg-1.2.ebuild
>
>DESCRIPTION="dpkg workalike which accepts equery syntax as well"
>HOMEPAGE="http://epkg.sf.net"
>SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
>
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="~amd64 ~ppc ~x86"
>
>DEPEND="=dev-lang/fpc-2.0.2"
>
>
>function src_install(){
>   dobin epkg
>   dodoc AUTHORS,README,LICENSE,CREDITS
>}
>
Comment 10 Marek Szuba (RETIRED) archtester gentoo-dev 2021-11-23 09:45:31 UTC
Is there still interest in adding this? There have been no releases upstream since 2006, and no activity in the new repository since December 2016. Moreover, we have in the meantime added a different, (somewhat) more recent app-portage/epkg.