[gentoo-user] ebuild digest is complaining about no PF

2005-05-17 Thread Calvin Spealman
I'm trying to create an updated ebuild for treeline-0.12.0, to take
advantage of the new install scripts it uses. I'm having a bit of
trouble generating a digest, however, with ebuild digest. It is
complaining that part of the name or the version is missing, and then
that PF is null or , and it bails. I don't know how I could have
caused this, because I didn't even touch PF and its generated
automatically anyway, right? I've included my modified script below.

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit eutils python

DESCRIPTION=TreeLine is a structured information storage program.
HOMEPAGE=http://www.bellz.org/treeline/;

SRC_URI=http://www.bellz.org/treeline/${P}.tar.gz;
LICENSE=GPL-2
SLOT=0

KEYWORDS=~x86 ~ppc
IUSE=spell

DEPEND=spell? ( || ( app-text/aspell app-text/ispell ) )
|| ( dev-python/pyxml dev-libs/expat )
virtual/python dev-python/PyQt
=x11-libs/qt-3.3.0-r1

S=${WORKDIR}/TreeLine

src_compile() {
printf '#!/bin/sh\n\nexec python %s/treeline.py $*\n' \
/usr/lib/treeline  ${T}/treeline
}

src_install() {
dodir /usr/lib/treeline /usr/share/icons/treeline

install.py -p /usr
}

pkg_postinst() {
python_mod_optimize /usr/lib/treeline
}

pkg_postrm() {
python_mod_cleanup /usr/lib/treeline
}

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ebuild digest is complaining about no PF

2005-05-17 Thread Ciaran McCreesh
On Tue, 17 May 2005 14:45:05 -0400 Calvin Spealman
[EMAIL PROTECTED] wrote:

| I'm trying to create an updated ebuild for treeline-0.12.0, to take
| advantage of the new install scripts it uses. I'm having a bit of
| trouble generating a digest, however, with ebuild digest. It is
| complaining that part of the name or the version is missing, and then
| that PF is null or , and it bails. I don't know how I could have
| caused this, because I didn't even touch PF and its generated
| automatically anyway, right? I've included my modified script below.

Sounds to me like you're putting the ebuild in the wrong place.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



pgpOaxMOPQkBB.pgp
Description: PGP signature


Re: [gentoo-user] ebuild digest is complaining about no PF

2005-05-17 Thread brettholcomb
man 5 ebuild and the ebuild docs for the naming conventions.   If you haven't 
already create a portage directotry overlay and set up make.conf to define it.  
This will be where you can create your own ebuilds and not mess with the tree.

 
 From: Calvin Spealman [EMAIL PROTECTED]
 Date: 2005/05/17 Tue PM 02:45:05 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] ebuild digest is complaining about no PF
 
 I'm trying to create an updated ebuild for treeline-0.12.0, to take
 advantage of the new install scripts it uses. I'm having a bit of
 trouble generating a digest, however, with ebuild digest. It is
 complaining that part of the name or the version is missing, and then
 that PF is null or , and it bails. I don't know how I could have
 caused this, because I didn't even touch PF and its generated
 automatically anyway, right? I've included my modified script below.
 
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 inherit eutils python
 
 DESCRIPTION=TreeLine is a structured information storage program.
 HOMEPAGE=http://www.bellz.org/treeline/;
 
 SRC_URI=http://www.bellz.org/treeline/${P}.tar.gz;
 LICENSE=GPL-2
 SLOT=0
 
 KEYWORDS=~x86 ~ppc
 IUSE=spell
 
 DEPEND=spell? ( || ( app-text/aspell app-text/ispell ) )
   || ( dev-python/pyxml dev-libs/expat )
   virtual/python dev-python/PyQt
   =x11-libs/qt-3.3.0-r1
 
 S=${WORKDIR}/TreeLine
 
 src_compile() {
   printf '#!/bin/sh\n\nexec python %s/treeline.py $*\n' \
   /usr/lib/treeline  ${T}/treeline
 }
 
 src_install() {
   dodir /usr/lib/treeline /usr/share/icons/treeline
 
   install.py -p /usr
 }
 
 pkg_postinst() {
   python_mod_optimize /usr/lib/treeline
 }
 
 pkg_postrm() {
   python_mod_cleanup /usr/lib/treeline
 }
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ebuild digest is complaining about no PF

2005-05-17 Thread Nick Rout

On Tue, 17 May 2005 14:45:05 -0400
Calvin Spealman wrote:

 I'm trying to create an updated ebuild for treeline-0.12.0, to take
 advantage of the new install scripts it uses. I'm having a bit of
 trouble generating a digest, however, with ebuild digest. It is
 complaining that part of the name or the version is missing, and then
 that PF is null or , and it bails. I don't know how I could have
 caused this, because I didn't even touch PF and its generated
 automatically anyway, right? I've included my modified script below.

1. what is the name of your ebuild file?
2. where is it on your system
3. what is PORTAGE_OVERLAY set to?


 
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 inherit eutils python
 
 DESCRIPTION=TreeLine is a structured information storage program.
 HOMEPAGE=http://www.bellz.org/treeline/;
 
 SRC_URI=http://www.bellz.org/treeline/${P}.tar.gz;
 LICENSE=GPL-2
 SLOT=0
 
 KEYWORDS=~x86 ~ppc
 IUSE=spell
 
 DEPEND=spell? ( || ( app-text/aspell app-text/ispell ) )
   || ( dev-python/pyxml dev-libs/expat )
   virtual/python dev-python/PyQt
   =x11-libs/qt-3.3.0-r1
 
 S=${WORKDIR}/TreeLine
 
 src_compile() {
   printf '#!/bin/sh\n\nexec python %s/treeline.py $*\n' \
   /usr/lib/treeline  ${T}/treeline
 }
 
 src_install() {
   dodir /usr/lib/treeline /usr/share/icons/treeline
 
   install.py -p /usr
 }
 
 pkg_postinst() {
   python_mod_optimize /usr/lib/treeline
 }
 
 pkg_postrm() {
   python_mod_cleanup /usr/lib/treeline
 }
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout
Barrister  Solicitor
Christchurch
http://www.rout.co.nz
[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ebuild digest is complaining about no PF

2005-05-17 Thread Calvin Spealman
On 5/17/05, Nick Rout [EMAIL PROTECTED] wrote:
 
 On Tue, 17 May 2005 14:45:05 -0400
 Calvin Spealman wrote:
 
  I'm trying to create an updated ebuild for treeline-0.12.0, to take
  advantage of the new install scripts it uses. I'm having a bit of
  trouble generating a digest, however, with ebuild digest. It is
  complaining that part of the name or the version is missing, and then
  that PF is null or , and it bails. I don't know how I could have
  caused this, because I didn't even touch PF and its generated
  automatically anyway, right? I've included my modified script below.
 
 1. what is the name of your ebuild file?

treeline-0.12.0.ebuild

 2. where is it on your system

/usr/local/portage/x11-misc/treeline/

 3. what is PORTAGE_OVERLAY set to?

/usr/local/portage/

And, I've thought of all that, but it wouldn't make sense. I've
already generated digests for this ebuild, and then I changed
something in it, but did not change the name or location, and that is
when I started to get this error.

 
 
 
  # Copyright 1999-2005 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
 
  inherit eutils python
 
  DESCRIPTION=TreeLine is a structured information storage program.
  HOMEPAGE=http://www.bellz.org/treeline/;
 
  SRC_URI=http://www.bellz.org/treeline/${P}.tar.gz;
  LICENSE=GPL-2
  SLOT=0
 
  KEYWORDS=~x86 ~ppc
  IUSE=spell
 
  DEPEND=spell? ( || ( app-text/aspell app-text/ispell ) )
|| ( dev-python/pyxml dev-libs/expat )
virtual/python dev-python/PyQt
=x11-libs/qt-3.3.0-r1
 
  S=${WORKDIR}/TreeLine
 
  src_compile() {
printf '#!/bin/sh\n\nexec python %s/treeline.py $*\n' \
/usr/lib/treeline  ${T}/treeline
  }
 
  src_install() {
dodir /usr/lib/treeline /usr/share/icons/treeline
 
install.py -p /usr
  }
 
  pkg_postinst() {
python_mod_optimize /usr/lib/treeline
  }
 
  pkg_postrm() {
python_mod_cleanup /usr/lib/treeline
  }
 
  --
  gentoo-user@gentoo.org mailing list
 
 --
 Nick Rout
 Barrister  Solicitor
 Christchurch
 http://www.rout.co.nz
 [EMAIL PROTECTED]
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list