public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/, gkeys-gen/
@ 2015-01-07 19:41 Brian Dolbec
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2015-01-07 19:41 UTC (permalink / raw
  To: gentoo-commits

commit:     41d9a206204150d6901eb1b74304eac08d1f96d0
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  7 19:39:26 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Jan  7 19:39:26 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=41d9a206

gkeys, gkeys-gen: Include py2man for sdist tarball creation

---
 gkeys-gen/MANIFEST.in | 1 +
 gkeys/MANIFEST.in     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/gkeys-gen/MANIFEST.in b/gkeys-gen/MANIFEST.in
index c1a7121..c0d51c9 100644
--- a/gkeys-gen/MANIFEST.in
+++ b/gkeys-gen/MANIFEST.in
@@ -1,2 +1,3 @@
 include LICENSE
 include README.md
+include py2man/*

diff --git a/gkeys/MANIFEST.in b/gkeys/MANIFEST.in
index c1a7121..c0d51c9 100644
--- a/gkeys/MANIFEST.in
+++ b/gkeys/MANIFEST.in
@@ -1,2 +1,3 @@
 include LICENSE
 include README.md
+include py2man/*


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

* [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/, gkeys-gen/
@ 2015-01-07 21:02 Brian Dolbec
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2015-01-07 21:02 UTC (permalink / raw
  To: gentoo-commits

commit:     512495d435ddd0714d0780faf4c03117dc1ce989
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  7 21:01:29 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Jan  7 21:01:29 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=512495d4

gkeys, gkeys-gen: Make sdist do .bz2 compression 

---
 gkeys-gen/setup.py | 12 ++++++++++++
 gkeys/setup.py     | 12 ++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/gkeys-gen/setup.py b/gkeys-gen/setup.py
index 1512219..5fae8f4 100755
--- a/gkeys-gen/setup.py
+++ b/gkeys-gen/setup.py
@@ -6,6 +6,7 @@ import sys
 
 from distutils.core import setup, Command
 from distutils.command.build import build
+from distutils.command.sdist import sdist
 from glob import glob
 
 from gkeygen import __version__, __license__
@@ -62,6 +63,16 @@ class build_man(Command):
         man.make_subpages(Action_Map, Available_Actions)
 
 
+class x_sdist(sdist):
+    """ sdist defaulting to .tar.bz2 format """
+
+    def finalize_options(self):
+        if self.formats is None:
+            self.formats = ['bztar']
+
+        sdist.finalize_options(self)
+
+
 setup(
     name='gkeys-gen',
     version=__version__,
@@ -84,6 +95,7 @@ setup(
     cmdclass = {
         'build': x_build,
         'build_man': build_man,
+        'sdist': x_sdist,
         },
     classifiers=[
         'Development Status :: 3 - Alpha',

diff --git a/gkeys/setup.py b/gkeys/setup.py
index 5a20738..12a3632 100755
--- a/gkeys/setup.py
+++ b/gkeys/setup.py
@@ -6,6 +6,7 @@ import sys
 
 from distutils.core import setup, Command
 from distutils.command.build import build
+from distutils.command.sdist import sdist
 from glob import glob
 
 from gkeys import __version__, __license__
@@ -62,6 +63,16 @@ class build_man(Command):
         man.make_subpages(Action_Map, Available_Actions)
 
 
+class x_sdist(sdist):
+    """ sdist defaulting to .tar.bz2 format """
+
+    def finalize_options(self):
+        if self.formats is None:
+            self.formats = ['bztar']
+
+        sdist.finalize_options(self)
+
+
 setup(
     name='gkeys',
     version=__version__,
@@ -85,6 +96,7 @@ setup(
     cmdclass = {
         'build': x_build,
         'build_man': build_man,
+        'sdist': x_sdist,
         },
     classifiers=[
         'Development Status :: 3 - Alpha',


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

end of thread, other threads:[~2015-01-07 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 21:02 [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/, gkeys-gen/ Brian Dolbec
  -- strict thread matches above, loose matches on Subject: below --
2015-01-07 19:41 Brian Dolbec

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