Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543316 - Drop old EAPIs from selinux-policy-2.eclass
Summary: Drop old EAPIs from selinux-policy-2.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-14 15:25 UTC by Jason Zaman
Modified: 2015-04-04 18:10 UTC (History)
0 users

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


Attachments
selinux-policy-2 eclass drop old EAPIs (selinux-eclass-drop-eapi.patch,1.33 KB, patch)
2015-03-23 14:29 UTC, Jason Zaman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Zaman gentoo-dev 2015-03-14 15:25:50 UTC
EAPI <= 2 have been deprecated for a while, if we drop support from the eclass it will allow us to clean up stuff like this:
has "${EAPI:-0}" 0 1 && selinux-policy-2_src_prepare

All the sec-policy/selinux-* packages are EAPI=5 so we could drop 4 and below with no problems.

I would probably put a qawarn for a while first then change it to a die.

Thoughts? which EAPIs should we drop support for and how long of a wait time?
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2015-03-16 16:48:15 UTC
I'm okay with dropping support for EAPI<4.

If all our stable ebuilds (not just the latest stable) are EAPI=5 then I don't even think we need to go through a QA warning.
Comment 2 Jason Zaman gentoo-dev 2015-03-23 14:29:30 UTC
Created attachment 399550 [details, diff]
selinux-policy-2 eclass drop old EAPIs

policy release 2.20140311-r2 was the last that was EAPI4, everything later (-r3 was released in May last year) was EAPI=5. Everything that is <5 has been out of the tree for many months at this point.

If no issues, I will apply the following patch to clean up the eclass.
Comment 3 Jason Zaman gentoo-dev 2015-04-04 18:10:08 UTC
committed.