* [gentoo-commits] dev/blueness:master commit in: dev-python/python-selinux/files/, dev-python/python-selinux/
@ 2011-03-17 22:38 Anthony G. Basile
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2011-03-17 22:38 UTC (permalink / raw
To: gentoo-commits
commit: 5540791afbd390a6a9fd8205daf01ad2829b59c4
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 22:38:38 2011 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Mar 17 22:38:38 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=5540791a
dev-python/python-selinux: Address bug #355675
(Portage version: 2.1.9.42/git/Linux x86_64, unsigned Manifest commit)
---
dev-python/python-selinux/ChangeLog | 10 +++++
dev-python/python-selinux/Manifest | 5 +++
.../python-selinux/files/respect-LDFLAGS.patch | 11 ++++++
dev-python/python-selinux/metadata.xml | 6 +++
.../python-selinux/python-selinux-2.16-r3.ebuild | 39 ++++++++++++++++++++
5 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/dev-python/python-selinux/ChangeLog b/dev-python/python-selinux/ChangeLog
new file mode 100644
index 0000000..c025712
--- /dev/null
+++ b/dev-python/python-selinux/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/python-selinux
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*python-selinux-2.16-r3 (17 Mar 2011)
+
+ 17 Mar 2011; Anthony G. Basile <blueness@gentoo.org>
+ +python-selinux-2.16-r3.ebuild, +files/respect-LDFLAGS.patch:
+ Address bug #355675
+
diff --git a/dev-python/python-selinux/Manifest b/dev-python/python-selinux/Manifest
new file mode 100644
index 0000000..e2e3f40
--- /dev/null
+++ b/dev-python/python-selinux/Manifest
@@ -0,0 +1,5 @@
+AUX respect-LDFLAGS.patch 425 RMD160 3eeb7020dfe3d951970e008852c3ad3466e4f69a SHA1 b7933c2c9fdfacaf9b309c6807dd952c7cffe7c0 SHA256 cc0cbec509775e763ffc27e7bc10fc6d79794eb8ee64d4cd37e67c7d4542af2d
+DIST python-selinux-2.16-1.tar.bz2 11264 RMD160 6b0a9ee26a3cd4018eeaaff1c7ec1e9dceb4f532 SHA1 250f27d2f1e3bf9dc88ef3f0fe603ad1dced9586 SHA256 efddd98ac531bf4bb636a84504c952520b989b960ae11215c60d909cdd46a3de
+EBUILD python-selinux-2.16-r3.ebuild 868 RMD160 cf381f0062338209f60823c64ad132a5878b477d SHA1 128af9952204810f1f9092bd0662bdbc9590c046 SHA256 a4e1f69227a8627e86fc399ba94b1bd18039d03f573f19442b326ec61c110f5a
+MISC ChangeLog 307 RMD160 5d77ac6c8266daec6fe482e4725cf159a0b50e0d SHA1 7a04fea42658a5645a34c888281af2d5b422005c SHA256 c5968acb957f7f03af814e6a7dde8656f58463cd83fab1ec3cf3ff541f2aec87
+MISC metadata.xml 246 RMD160 26a4d0d6446593f0cb2fdd5d5b0af8f56ed1df21 SHA1 20909ae33b21382e4d8bbbba84c4d697344ea1ce SHA256 22b174539040b81fa6ec3ea0f4d5f847c237d50c79c2222d5ef258affa492b1d
diff --git a/dev-python/python-selinux/files/respect-LDFLAGS.patch b/dev-python/python-selinux/files/respect-LDFLAGS.patch
new file mode 100644
index 0000000..d52bbaf
--- /dev/null
+++ b/dev-python/python-selinux/files/respect-LDFLAGS.patch
@@ -0,0 +1,11 @@
+--- python-selinux-orig/Makefile 2006-02-12 04:37:05.000000000 +0300
++++ python-selinux/Makefile 2011-02-22 19:06:02.000000000 +0300
+@@ -23,7 +23,7 @@
+ $(PYREXC) $<
+
+ %.so: %.c
+- $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} $< -lselinux
++ $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} ${CFLAGS} ${LDFLAGS} $< -lselinux
+
+ install: $(all_so)
+ mkdir -p ${DESTDIR}/usr/lib/python${PYVER}/site-packages
diff --git a/dev-python/python-selinux/metadata.xml b/dev-python/python-selinux/metadata.xml
new file mode 100644
index 0000000..cecbaa7
--- /dev/null
+++ b/dev-python/python-selinux/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>selinux</herd>
+ <longdescription>Python bindings for SELinux libselinux fuctions.</longdescription>
+</pkgmetadata>
diff --git a/dev-python/python-selinux/python-selinux-2.16-r3.ebuild b/dev-python/python-selinux/python-selinux-2.16-r3.ebuild
new file mode 100644
index 0000000..c0982b4
--- /dev/null
+++ b/dev-python/python-selinux/python-selinux-2.16-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.16-r2.ebuild,v 1.5 2011/02/08 17:47:41 arfrever Exp $
+
+PYTHON_DEPEND="2"
+
+inherit python
+
+DESCRIPTION="Extra python bindings for SELinux functions"
+HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
+LICENSE="GPL-2"
+SLOT="0"
+SRC_URI="mirror://gentoo/${P}-1.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/libselinux-1.28-r1"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_configure() {
+ epatch "${FILESDIR}/respect-LDFLAGS.patch"
+}
+
+src_compile() {
+ emake PYVER="$(python_get_version)" || die
+}
+
+src_install() {
+ python_need_rebuild
+ make DESTDIR="${D}" PYVER="$(python_get_version)" install || die
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] dev/blueness:master commit in: dev-python/python-selinux/files/, dev-python/python-selinux/
@ 2011-03-18 2:06 Anthony G. Basile
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2011-03-18 2:06 UTC (permalink / raw
To: gentoo-commits
commit: c4cb3c74ad9b8417e5b6c599d32069c80aefcd2e
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 18 02:05:09 2011 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 02:05:09 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=c4cb3c74
dev-python/python-selinux: moved to the tree
---
dev-python/python-selinux/ChangeLog | 14 -------
dev-python/python-selinux/Manifest | 5 --
.../python-selinux/files/respect-LDFLAGS.patch | 11 -----
dev-python/python-selinux/metadata.xml | 6 ---
.../python-selinux/python-selinux-2.16-r3.ebuild | 41 --------------------
5 files changed, 0 insertions(+), 77 deletions(-)
diff --git a/dev-python/python-selinux/ChangeLog b/dev-python/python-selinux/ChangeLog
deleted file mode 100644
index 0bbb4fa..0000000
--- a/dev-python/python-selinux/ChangeLog
+++ /dev/null
@@ -1,14 +0,0 @@
-# ChangeLog for dev-python/python-selinux
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 18 Mar 2011; Anthony G. Basile <blueness@gentoo.org>
- python-selinux-2.16-r3.ebuild:
- Switched to EAPI="2"
-
-*python-selinux-2.16-r3 (17 Mar 2011)
-
- 17 Mar 2011; Anthony G. Basile <blueness@gentoo.org>
- +python-selinux-2.16-r3.ebuild, +files/respect-LDFLAGS.patch:
- Address bug #355675
-
diff --git a/dev-python/python-selinux/Manifest b/dev-python/python-selinux/Manifest
deleted file mode 100644
index fd5dbb0..0000000
--- a/dev-python/python-selinux/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX respect-LDFLAGS.patch 425 RMD160 3eeb7020dfe3d951970e008852c3ad3466e4f69a SHA1 b7933c2c9fdfacaf9b309c6807dd952c7cffe7c0 SHA256 cc0cbec509775e763ffc27e7bc10fc6d79794eb8ee64d4cd37e67c7d4542af2d
-DIST python-selinux-2.16-1.tar.bz2 11264 RMD160 6b0a9ee26a3cd4018eeaaff1c7ec1e9dceb4f532 SHA1 250f27d2f1e3bf9dc88ef3f0fe603ad1dced9586 SHA256 efddd98ac531bf4bb636a84504c952520b989b960ae11215c60d909cdd46a3de
-EBUILD python-selinux-2.16-r3.ebuild 883 RMD160 3cc316b3608a8a39ebc568b0108b3c4ac54ef144 SHA1 8235242677124fdb3239f8e4eff38027f1aca58c SHA256 32157340dc66dfc5ba0a9d472369a049c550995a90f88184c5c7a1de0bf63094
-MISC ChangeLog 419 RMD160 8a497e7936cb9f72d8cc471e3837787753e4f269 SHA1 dff0e394c03f2b194693b06428a0eec00ad9ebbb SHA256 865b7f654a5ab599bdb153759320b146f1188117360ff1db54cb9a04f6972180
-MISC metadata.xml 246 RMD160 26a4d0d6446593f0cb2fdd5d5b0af8f56ed1df21 SHA1 20909ae33b21382e4d8bbbba84c4d697344ea1ce SHA256 22b174539040b81fa6ec3ea0f4d5f847c237d50c79c2222d5ef258affa492b1d
diff --git a/dev-python/python-selinux/files/respect-LDFLAGS.patch b/dev-python/python-selinux/files/respect-LDFLAGS.patch
deleted file mode 100644
index d52bbaf..0000000
--- a/dev-python/python-selinux/files/respect-LDFLAGS.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- python-selinux-orig/Makefile 2006-02-12 04:37:05.000000000 +0300
-+++ python-selinux/Makefile 2011-02-22 19:06:02.000000000 +0300
-@@ -23,7 +23,7 @@
- $(PYREXC) $<
-
- %.so: %.c
-- $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} $< -lselinux
-+ $(CC) -fPIC -shared -o $@ -I /usr/include/python${PYVER} ${CFLAGS} ${LDFLAGS} $< -lselinux
-
- install: $(all_so)
- mkdir -p ${DESTDIR}/usr/lib/python${PYVER}/site-packages
diff --git a/dev-python/python-selinux/metadata.xml b/dev-python/python-selinux/metadata.xml
deleted file mode 100644
index cecbaa7..0000000
--- a/dev-python/python-selinux/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>selinux</herd>
- <longdescription>Python bindings for SELinux libselinux fuctions.</longdescription>
-</pkgmetadata>
diff --git a/dev-python/python-selinux/python-selinux-2.16-r3.ebuild b/dev-python/python-selinux/python-selinux-2.16-r3.ebuild
deleted file mode 100644
index 7d030ad..0000000
--- a/dev-python/python-selinux/python-selinux-2.16-r3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.16-r2.ebuild,v 1.5 2011/02/08 17:47:41 arfrever Exp $
-
-EAPI="2"
-
-PYTHON_DEPEND="2"
-
-inherit python eutils
-
-DESCRIPTION="Extra python bindings for SELinux functions"
-HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
-LICENSE="GPL-2"
-SLOT="0"
-SRC_URI="mirror://gentoo/${P}-1.tar.bz2"
-
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=sys-libs/libselinux-1.28-r1"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${PN}
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}/respect-LDFLAGS.patch"
-}
-
-src_compile() {
- emake PYVER="$(python_get_version)" || die
-}
-
-src_install() {
- python_need_rebuild
- make DESTDIR="${D}" PYVER="$(python_get_version)" install || die
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-18 2:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17 22:38 [gentoo-commits] dev/blueness:master commit in: dev-python/python-selinux/files/, dev-python/python-selinux/ Anthony G. Basile
-- strict thread matches above, loose matches on Subject: below --
2011-03-18 2:06 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox