public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Manifest local ebuild - bump version
@ 2020-12-18  6:49 thelma
  2020-12-18  8:35 ` Neil Bothwick
  2020-12-18 19:00 ` Jack
  0 siblings, 2 replies; 3+ messages in thread
From: thelma @ 2020-12-18  6:49 UTC (permalink / raw
  To: Gentoo mailing list

How bump version and manifest local ebuild.
I copied  barcode-0.99.ebuild to local/portage and tired to bump version
 mv barcode-0.99.1.ebuild
ebuild /usr/local/portage/app-text/barcode/barcode-0.99.1.ebuild manifest

but when I try to manifest it, it can not find barcode-0.99.1.tar.gz (it
doesn't exist).

I was trying to apply this patch to current version:
https://lists.gnu.org/archive/html/bug-barcode/2020-01/txtvoVMhO66kP.txt

I can manifest (with the patch) current version: barcode-0.99.ebuild
but renaming it after manifesting won't work, it complain about Manifest
mismatch.
I was trying to bump the version, so I can distinguish local from the
official one.

If I keep the version the same, how to point emerge to "local/portage".
Do I unmerge the official one and keep the one in local/portage?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Manifest local ebuild - bump version
  2020-12-18  6:49 [gentoo-user] Manifest local ebuild - bump version thelma
@ 2020-12-18  8:35 ` Neil Bothwick
  2020-12-18 19:00 ` Jack
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Bothwick @ 2020-12-18  8:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]

On Thu, 17 Dec 2020 23:49:28 -0700, thelma@sys-concept.com wrote:

> How bump version and manifest local ebuild.

You don't.

> I copied  barcode-0.99.ebuild to local/portage and tired to bump version
>  mv barcode-0.99.1.ebuild
> ebuild /usr/local/portage/app-text/barcode/barcode-0.99.1.ebuild
> manifest
> 
> but when I try to manifest it, it can not find barcode-0.99.1.tar.gz (it
> doesn't exist).

Because it thinks you want a different version. You could name it 9.99-r1
but even that is not necessary.
> 
> I was trying to apply this patch to current version:
> https://lists.gnu.org/archive/html/bug-barcode/2020-01/txtvoVMhO66kP.txt

Can't you just put the patch in
/etc/portage/patches/app-text/barcode/barcode-0.99 and let portage apply
it automatically when you re-emerge it?

> I can manifest (with the patch) current version: barcode-0.99.ebuild
> but renaming it after manifesting won't work, it complain about Manifest
> mismatch.
> I was trying to bump the version, so I can distinguish local from the
> official one.
> 
> If I keep the version the same, how to point emerge to "local/portage".
> Do I unmerge the official one and keep the one in local/portage?

Set the priority for your overlay to be higher than portage in
repos.conf, then just re-emerge the package.


-- 
Neil Bothwick

COBOL: Completely Obsolete Business Oriented Language

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Manifest local ebuild - bump version
  2020-12-18  6:49 [gentoo-user] Manifest local ebuild - bump version thelma
  2020-12-18  8:35 ` Neil Bothwick
@ 2020-12-18 19:00 ` Jack
  1 sibling, 0 replies; 3+ messages in thread
From: Jack @ 2020-12-18 19:00 UTC (permalink / raw
  To: gentoo-user

On 2020.12.18 01:49, thelma@sys-concept.com wrote:
> How bump version and manifest local ebuild.
> I copied  barcode-0.99.ebuild to local/portage and tired to bump  
> version
>  mv barcode-0.99.1.ebuild
> ebuild /usr/local/portage/app-text/barcode/barcode-0.99.1.ebuild  
> manifest
> 
> but when I try to manifest it, it can not find barcode-0.99.1.tar.gz  
> (it
> doesn't exist).
That's because barcode-0.99.1.tar.gz doesn't exist.  If you want your  
new ebuild to still use the previous tarball, you either need to adjust  
the link it uses to fetch the source, or consider renaming to  
barcode-0.99-r1.  However, the other suggestion about where to place  
the patch is probably a better approach, assuming the ebuild does apply  
user patches.
> 
> I was trying to apply this patch to current version:
> https://lists.gnu.org/archive/html/bug-barcode/2020-01/txtvoVMhO66kP.txt
> 
> I can manifest (with the patch) current version: barcode-0.99.ebuild
> but renaming it after manifesting won't work, it complain about  
> Manifest
> mismatch.
> I was trying to bump the version, so I can distinguish local from the
> official one.
> 
> If I keep the version the same, how to point emerge to  
> "local/portage".
> Do I unmerge the official one and keep the one in local/portage?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-18 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-18  6:49 [gentoo-user] Manifest local ebuild - bump version thelma
2020-12-18  8:35 ` Neil Bothwick
2020-12-18 19:00 ` Jack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox