[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/megatools: ChangeLog megatools-1.9.92.ebuild metadata.xml Manifest
Yixun Lan (dlan): EAPI=5 AUTOTOOLS_AUTORECONF=1 AUTOTOOLS_IN_SOURCE_BUILD=1 inherit autotools-utils DESCRIPTION=Command line tools and C library for accessing Mega cloud storage HOMEPAGE=https://github.com/megous/megatools; SRC_URI=https://github.com/megous/${PN}/archive/${PV}.tar.gz - ${P}.tar.gz LICENSE=GPL-2 SLOT=0 KEYWORDS=~amd64 ~x86 IUSE=introspection doc Why not provide static-libs USE flag? DEPEND=dev-libs/glib:2 dev-libs/openssl openssl is missing slot 0 here which is the only slot providing headers. net-misc/curl sys-fs/fuse Probably not really worth the work, but afais fuse is automagically, so it could be made a USE flag after fixing the build system. doc? ( app-text/asciidoc ) asciidoc is not an RDEPEND RDEPEND=${DEPEND} virtual/pkgconfig is missing from build-time dep (also not an RDEPEND) src_configure() { local myeconfargs=( --enable-shared --disable-maintainer-mode --disable-warnings --disable-static --disable-glibtest $(use_enable introspection) $(use_enable doc docs-build) ) autotools-utils_src_configure } Build fails here when doc USE flag is disabled. make[2]: *** No rule to make target `megadf.1', needed by `all'. Stop. I suggest to remove it and build docs unconditionally.
[gentoo-dev] Last rites: x11-plugins/msn-pecan, x11-plugins/pidgin-facebookchat
# Bernard Cafarelli voyag...@gentoo.org (05 Sep 2014) # Does not connect anymore, does not work with current pidgin versions # Dead upstream # Masked for removal in 30 days, bug #355797 x11-plugins/pidgin-facebookchat I added x11-plugins/msn-pecan to hwoarang's MSN mask (http://thread.gmane.org/gmane.linux.gentoo.devel/92772) -- Bernard Cafarelli (Voyageur) Gentoo developer
[gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
All, there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? William [1] https://bugs.gentoo.org/189149 signature.asc Description: Digital signature
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On 05/09/14 01:34 PM, William Hubbs wrote: All, there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? William [1] https://bugs.gentoo.org/189149 no, because it's not necessary to bring up a working system. we don't have wpa_supplicant, and we shouldn't have net-tools now that openrc isn't in @system anymore. signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On Fri, Sep 5, 2014 at 2:35 PM, Alex Xu alex_y...@yahoo.ca wrote: On 05/09/14 01:34 PM, William Hubbs wrote: All, there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? William [1] https://bugs.gentoo.org/189149 no, because it's not necessary to bring up a working system. we don't have wpa_supplicant, and we shouldn't have net-tools now that openrc isn't in @system anymore. Err... openrc is in profiles/base/packages. However, that really has very little to do with this issue. I'm using systemd and still have use for network config tools. I would like to see iproute2 added to @system.
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On Fri, Sep 5, 2014 at 2:35 PM, Alex Xu alex_y...@yahoo.ca wrote: no, because it's not necessary to bring up a working system. we don't have wpa_supplicant, and we shouldn't have net-tools now that openrc isn't in @system anymore. Well, your definition of working seems quite a bit narrower than mine! More saliently, I recall having needed to do network-related things from within my stage 3 chroot before, and I'd very much like that to continue being possible. -Wyatt
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
05.09.14 21:21, Wyatt Epp написав(ла): On Fri, Sep 5, 2014 at 2:35 PM, Alex Xu alex_y...@yahoo.ca wrote: no, because it's not necessary to bring up a working system. we don't have wpa_supplicant, and we shouldn't have net-tools now that openrc isn't in @system anymore. Well, your definition of working seems quite a bit narrower than mine! More saliently, I recall having needed to do network-related things from within my stage 3 chroot before, and I'd very much like that to continue being possible. sys-apps/iproute2 is not necessary for this. stage3 already has enough stuff to work with network. Or am I wrong? -- Jauhien signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
Dnia 2014-09-05, o godz. 12:34:11 William Hubbs willi...@gentoo.org napisał(a): there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? I object. We should be keeping towards making @system as small as possible, not adding random packages there just because someone happens to use them often. -- Best regards, Michał Górny signature.asc Description: PGP signature
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On 09/05/14 16:08, Michał Górny wrote: Dnia 2014-09-05, o godz. 12:34:11 William Hubbs willi...@gentoo.org napisał(a): there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? I object. We should be keeping towards making @system as small as possible, not adding random packages there just because someone happens to use them often. I don't like to say no when people want something, but I think here I'm with Michal. My idea of @system is that it must be the bare minimum to have a working system. And for a working system you need just enough toolchain, networking and python to be able to bootstrap into whatever you want to build from that point. We already have net-tools, so iproute2 is not needed. Why can't you just emerge iproute2 from the stages we already have? -- Anthony G. Basile, Ph.D. Gentoo Linux Developer [Hardened] E-Mail: bluen...@gentoo.org GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA GnuPG ID : F52D4BBA
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On Fri, Sep 5, 2014 at 4:30 PM, Anthony G. Basile bluen...@gentoo.org wrote: On 09/05/14 16:08, Michał Górny wrote: Dnia 2014-09-05, o godz. 12:34:11 William Hubbs willi...@gentoo.org napisał(a): there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? I object. We should be keeping towards making @system as small as possible, not adding random packages there just because someone happens to use them often. I don't like to say no when people want something, but I think here I'm with Michal. My idea of @system is that it must be the bare minimum to have a working system. And for a working system you need just enough toolchain, networking and python to be able to bootstrap into whatever you want to build from that point. We already have net-tools, so iproute2 is not needed. Why can't you just emerge iproute2 from the stages we already have? You can, and I do... every time I unpack a stage3 tarball. Keeping @system minimal seems like a reasonable ideal though.
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On Fri, Sep 5, 2014 at 10:30 PM, Anthony G. Basile bluen...@gentoo.org wrote: I don't like to say no when people want something, but I think here I'm with Michal. My idea of @system is that it must be the bare minimum to have a working system. And for a working system you need just enough toolchain, networking and python to be able to bootstrap into whatever you want to build from that point. We already have net-tools, so iproute2 is not needed. +1 from me. Cheers, Dirkjan
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
Dnia 2014-09-05, o godz. 16:30:43 Anthony G. Basile bluen...@gentoo.org napisał(a): On 09/05/14 16:08, Michał Górny wrote: Dnia 2014-09-05, o godz. 12:34:11 William Hubbs willi...@gentoo.org napisał(a): there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? I object. We should be keeping towards making @system as small as possible, not adding random packages there just because someone happens to use them often. I don't like to say no when people want something, but I think here I'm with Michal. My idea of @system is that it must be the bare minimum to have a working system. And for a working system you need just enough toolchain, networking and python to be able to bootstrap into whatever you want to build from that point. We already have net-tools, so iproute2 is not needed. Even better, @system is basically stuff you don't want to depend explicitly on or on which it is hard to depend on. As I see it, it should be just the most basic stuff, like baselayout, shell, some basic POSIX-defined utilities, some random stuff that PMS enforces, a C C++ compiler. As I see it, @system is already overburdened with random packages that don't belong there. If we really feel like having to have something else installed by default, why not just put it in default @world? -- Best regards, Michał Górny signature.asc Description: PGP signature
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-24 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-24 23h59 UTC. Removals: Additions: -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-24 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-24 23h59 UTC. Removals: Additions: -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-24 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-24 23h59 UTC. Removals: Additions: -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-24 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-24 23h59 UTC. Removals: Additions: -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-24 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-24 23h59 UTC. Removals: Additions: -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-24 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-24 23h59 UTC. Removals: Additions: -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-24 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-24 23h59 UTC. Removals: app-emacs/sawfish 2014-08-19 18:54:33 ulm virtual/ruby-test-unit 2014-08-20 08:44:30 graaff Additions: media-libs/libmpris2client 2014-08-20 11:43:38 ssuominen xfce-extra/xfdashboard 2014-08-20 12:24:12 ssuominen www-client/opera-developer 2014-08-20 16:07:48 jer dev-libs/openspecfun2014-08-21 09:03:51 patrick dev-libs/marisa 2014-08-22 02:45:53 dlan media-sound/dcaenc 2014-08-22 17:50:07 beandog sci-mathematics/geogebra2014-08-23 15:59:10 amynka -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 Removed Packages: app-emacs/sawfish,removed,ulm,2014-08-19 18:54:33 virtual/ruby-test-unit,removed,graaff,2014-08-20 08:44:30 Added Packages: media-libs/libmpris2client,added,ssuominen,2014-08-20 11:43:38 xfce-extra/xfdashboard,added,ssuominen,2014-08-20 12:24:12 www-client/opera-developer,added,jer,2014-08-20 16:07:48 dev-libs/openspecfun,added,patrick,2014-08-21 09:03:51 dev-libs/marisa,added,dlan,2014-08-22 02:45:53 media-sound/dcaenc,added,beandog,2014-08-22 17:50:07 sci-mathematics/geogebra,added,amynka,2014-08-23 15:59:10 Done.
[gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-31 23h59 UTC
The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-31 23h59 UTC. Removals: games-action/d2x2014-08-25 20:22:29 mr_bones_ games-arcade/koules 2014-08-25 20:23:05 mr_bones_ dev-lang/libcilkrts 2014-08-26 15:48:38 ottxor Additions: dev-python/crumbs 2014-08-25 00:02:51 alunduil media-gfx/kxstitch 2014-08-26 09:57:08 kensington media-gfx/symboleditor 2014-08-26 10:40:37 kensington dev-perl/Sort-Key 2014-08-26 16:51:12 chainsaw dev-perl/Sort-Key-IPv4 2014-08-26 16:52:29 chainsaw sci-visualization/yt2014-08-26 21:34:51 xarthisius dev-ruby/globalid 2014-08-27 05:39:22 graaff dev-python/certifi 2014-08-27 15:24:31 idella4 www-apps/jekyll-sitemap 2014-08-27 20:52:41 mrueg sys-apps/tuned 2014-08-29 04:08:59 dlan app-portage/g-sorcery 2014-08-29 11:51:32 jauhien app-portage/gs-elpa 2014-08-29 13:08:32 jauhien app-portage/gs-pypi 2014-08-29 13:11:56 jauhien app-admin/eselect-rust 2014-08-29 13:49:14 jauhien sys-block/raid-check2014-08-29 18:01:14 chutzpah dev-python/python3-openid 2014-08-30 14:06:40 maksbotan dev-python/python-social-auth 2014-08-30 14:20:15 maksbotan dev-python/websocket-client 2014-08-31 01:02:48 alunduil dev-ruby/ethon 2014-08-31 06:31:15 graaff -- Robin Hugh Johnson Gentoo Linux Developer E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 Removed Packages: games-action/d2x,removed,mr_bones_,2014-08-25 20:22:29 games-arcade/koules,removed,mr_bones_,2014-08-25 20:23:05 dev-lang/libcilkrts,removed,ottxor,2014-08-26 15:48:38 Added Packages: dev-python/crumbs,added,alunduil,2014-08-25 00:02:51 media-gfx/kxstitch,added,kensington,2014-08-26 09:57:08 media-gfx/symboleditor,added,kensington,2014-08-26 10:40:37 dev-perl/Sort-Key,added,chainsaw,2014-08-26 16:51:12 dev-perl/Sort-Key-IPv4,added,chainsaw,2014-08-26 16:52:29 sci-visualization/yt,added,xarthisius,2014-08-26 21:34:51 dev-ruby/globalid,added,graaff,2014-08-27 05:39:22 dev-python/certifi,added,idella4,2014-08-27 15:24:31 www-apps/jekyll-sitemap,added,mrueg,2014-08-27 20:52:41 sys-apps/tuned,added,dlan,2014-08-29 04:08:59 app-portage/g-sorcery,added,jauhien,2014-08-29 11:51:32 app-portage/gs-elpa,added,jauhien,2014-08-29 13:08:32 app-portage/gs-pypi,added,jauhien,2014-08-29 13:11:56 app-admin/eselect-rust,added,jauhien,2014-08-29 13:49:14 sys-block/raid-check,added,chutzpah,2014-08-29 18:01:14 dev-python/python3-openid,added,maksbotan,2014-08-30 14:06:40 dev-python/python-social-auth,added,maksbotan,2014-08-30 14:20:15 dev-python/websocket-client,added,alunduil,2014-08-31 01:02:48 dev-ruby/ethon,added,graaff,2014-08-31 06:31:15 Done.
Re: [gentoo-dev] Automated Package Removal and Addition Tracker, for the week ending 2014-08-17 23h59 UTC
Oldschool python broke on the new CVS box, fixed now. On Tue, Sep 02, 2014 at 07:40:10PM +0100, Markos Chandras wrote: On 08/18/2014 01:25 AM, Robin H. Johnson wrote: The attached list notes all of the packages that were added or removed from the tree, for the week ending 2014-08-17 23h59 UTC. Hi, (cc'ing infra) I noticed he haven't received these weekly emails for two weeks. Is there a problem? Maybe you turned them off during the migration but never turned them back on? Is there another problem? Is there a way to get some stats for August so I can use them for the upcoming GMN? -- Regards, Markos Chandras -- Robin Hugh Johnson Gentoo Linux: Developer, Infrastructure Lead E-Mail : robb...@gentoo.org GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On 09/05/14 17:20, Michał Górny wrote: Dnia 2014-09-05, o godz. 16:30:43 Anthony G. Basile bluen...@gentoo.org napisał(a): On 09/05/14 16:08, Michał Górny wrote: Dnia 2014-09-05, o godz. 12:34:11 William Hubbs willi...@gentoo.org napisał(a): there is a bug open requesting that we add sys-apps/iproute2 to the system set [1]. Originally the request was to drop net-tools, but it has become just adding iproute2. If no one objects, I would like to do this sometime in the next 72 hours by adding sys-apps/iproute2 to profiles/default/linux/packages. Thoughts? I object. We should be keeping towards making @system as small as possible, not adding random packages there just because someone happens to use them often. I don't like to say no when people want something, but I think here I'm with Michal. My idea of @system is that it must be the bare minimum to have a working system. And for a working system you need just enough toolchain, networking and python to be able to bootstrap into whatever you want to build from that point. We already have net-tools, so iproute2 is not needed. Even better, @system is basically stuff you don't want to depend explicitly on or on which it is hard to depend on. As I see it, it should be just the most basic stuff, like baselayout, shell, some basic POSIX-defined utilities, some random stuff that PMS enforces, a C C++ compiler. As I see it, @system is already overburdened with random packages that don't belong there. If we really feel like having to have something else installed by default, why not just put it in default @world? I also don't want to see the stage3 tarballs bloated. So I don't want to see net-tools and iproute2 ending up in our stage3's. -- Anthony G. Basile, Ph.D. Gentoo Linux Developer [Hardened] E-Mail: bluen...@gentoo.org GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA GnuPG ID : F52D4BBA
Re: [gentoo-dev] rfc: adding sys-apps/iproute2 to the @system set
On Fri, Sep 5, 2014 at 5:20 PM, Michał Górny mgo...@gentoo.org wrote: Even better, @system is basically stuff you don't want to depend explicitly on or on which it is hard to depend on. As I see it, it should be just the most basic stuff, like baselayout, shell, some basic POSIX-defined utilities, some random stuff that PMS enforces, a C C++ compiler. As I see it, @system is already overburdened with random packages that don't belong there. If we really feel like having to have something else installed by default, why not just put it in default @world? ++ The purpose of the system set is to deal with circular deps and the need to bootstrap. We shouldn't have stuff in there if it is possible to run without it. There are loads of things I can't live without which aren't in the system set. I have a default world file that I always start with anytime I do an install. If we ever get mix-ins worked out that would be another way to just have convenience sets of recommended software. -- Rich
[gentoo-portage-dev] [PATCH v3] Install Portage using setup.py
Changes in v2: - 'sdist' support Changes in v3: - version substituted properly in docs mans - cleaner handling of install_data --- .gitignore | 1 + MANIFEST.in | 18 ++ Makefile | 215 - doc/Makefile | 11 - doc/fragment/date| 0 doc/fragment/version | 1 - mkrelease.sh | 141 --- pym/portage/const.py | 4 +- setup.py | 657 +++ 9 files changed, 678 insertions(+), 370 deletions(-) create mode 100644 MANIFEST.in delete mode 100644 Makefile delete mode 100644 doc/Makefile delete mode 100644 doc/fragment/date delete mode 100644 doc/fragment/version delete mode 100755 mkrelease.sh create mode 100755 setup.py diff --git a/.gitignore b/.gitignore index 074bb86..c2dd534 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.py[co] __pycache__/ *.class +/build /tags diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 000..d65c874 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,18 @@ +# docs +include DEVELOPING +include LICENSE +include TEST-NOTES + +# docbook sources +include doc/custom.xsl +recursive-include doc *.docbook + +# extra conf files used in ebuild +include cnf/make.conf.example.* + +# extra files for tests +include .portage_not_installed +include cnf/metadata.dtd + +# extra scripts +include misc/* diff --git a/Makefile b/Makefile deleted file mode 100644 index 9eb6e66..000 --- a/Makefile +++ /dev/null @@ -1,215 +0,0 @@ -SHELL = /bin/sh -PN ?= portage -PF ?= portage -HOMEPAGE ?= http://www.gentoo.org/proj/en/portage/index.xml -PWD ?= $(shell pwd) -S ?= $(PWD) -WORKDIR ?= $(PWD) -DESTDIR = $(PWD)/image/ -srcdir = $(S) -prefix = /usr -sysconfdir = /etc -exec_prefix = $(prefix) -bindir = $(exec_prefix)/bin -sbindir = $(exec_prefix)/sbin -libdir = $(exec_prefix)/lib -datarootdir = $(prefix)/share -datadir = $(datarootdir) -mandir = $(datarootdir)/man -docdir = $(datarootdir)/doc/$(PF) -htmldir = $(docdir)/html -portage_datadir = $(datarootdir)/$(PN) -portage_confdir = $(portage_datadir)/config -portage_setsdir = $(portage_confdir)/sets -portage_base = $(libdir)/$(PN) -EPYDOC_OPTS = -q --no-frames --show-imports -INSMODE = 0644 -EXEMODE = 0755 -DIRMODE = 0755 -SYSCONFDIR_FILES = etc-update.conf dispatch-conf.conf -PORTAGE_CONFDIR_FILES = make.conf.example make.globals repos.conf -LOGROTATE_FILES = elog-save-summary -BINDIR_FILES = ebuild egencache emerge emerge-webrsync \ - emirrordist portageq quickpkg repoman -SBINDIR_FILES = archive-conf dispatch-conf emaint \ - env-update etc-update fixpackages regenworld -DOCS = ChangeLog NEWS RELEASE-NOTES -LINGUAS ?= $(shell cd $(srcdir)/man find -mindepth 1 -type d) - -ifdef PYTHONPATH - PYTHONPATH := $(srcdir)/pym:$(PYTHONPATH) -else - PYTHONPATH := $(srcdir)/pym -endif - -all: docbook epydoc - -docbook: - set -e; \ - touch $(srcdir)/doc/fragment/date; \ - $(MAKE) -C $(srcdir)/doc xhtml xhtml-nochunks - -epydoc: - set -e; \ - env PYTHONPATH=$(PYTHONPATH) epydoc \ - -o $(WORKDIR)/epydoc \ - --name $(PN) \ - --url $(HOMEPAGE) \ - $(EPYDOC_OPTS) \ - $$(cd $(srcdir) find pym -name '*.py' | sed \ - -e s:/__init__.py$$:: \ - -e s:\.py$$:: \ - -e s:^pym/:: \ - -e s:/:.:g \ - | sort); \ - rm -f $(WORKDIR)/epydoc/api-objects.txt; \ - -test: - set -e; \ - $(srcdir)/pym/portage/tests/runTests.py; \ - -install: - set -e; \ - cd $(srcdir)/cnf; \ - install -d -m$(DIRMODE) $(DESTDIR)$(sysconfdir); \ - install -m$(INSMODE) $(SYSCONFDIR_FILES) $(DESTDIR)$(sysconfdir); \ - \ - install -d -m$(DIRMODE) $(DESTDIR)$(portage_confdir); \ - cd $(srcdir)/cnf; \ - install -m$(INSMODE) $(PORTAGE_CONFDIR_FILES) \ - $(DESTDIR)$(portage_confdir); \ - install -d -m$(DIRMODE) $(DESTDIR)$(portage_setsdir); \ - cd $(S)/cnf/sets; \ - install -m$(INSMODE) *.conf $(DESTDIR)$(portage_setsdir); \ - \ - install -d -m$(DIRMODE) $(DESTDIR)$(sysconfdir)/logrotate.d; \ - cd $(srcdir)/cnf/logrotate.d; \ - install -m$(INSMODE) $(LOGROTATE_FILES) \ - $(DESTDIR)$(sysconfdir)/logrotate.d; \ - \ - for x in $$(cd $(srcdir) find bin -type d) ; do \ - cd $(srcdir)/$$x; \ - install -d -m$(DIRMODE) $(DESTDIR)$(portage_base)/$$x; \ - files=$$(find . -mindepth 1 -maxdepth 1 -type f ! -type l); \ - if [ -n $$files ] ; then \ - install -m$(EXEMODE) $$files \ - $(DESTDIR)$(portage_base)/$$x; \ - fi; \ - symlinks=$$(find . -mindepth 1 -maxdepth 1 -type l); \ - if [ -n $$symlinks ] ; then \ - cp -P $$symlinks