public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-36-g6f14430
@ 2016-11-18 16:07 jturney
  0 siblings, 0 replies; only message in thread
From: jturney @ 2016-11-18 16:07 UTC (permalink / raw)
  To: cygwin-apps-cvs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2618 bytes --]




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=6f144307b120c8d0ea36089076ffb02c794e22e3

commit 6f144307b120c8d0ea36089076ffb02c794e22e3
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Wed Nov 16 14:13:48 2016 +0000

    setup.hint always sets stability level hints, even if they are absent


Diff:
---
 calm/package.py                        |    2 +-
 test/testdata/uploads/pkglist.expected |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/calm/package.py b/calm/package.py
index 84699b1..b77c960 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -180,7 +180,7 @@ def read_package(packages, basedir, dirpath, files, strict=False, remove=[]):
             hints = {}
 
         # determine version overrides
-        note_absent = ('override.hint' in remove) or ('override.hint' in files)
+        note_absent = ('override.hint' in remove) or ('override.hint' in files) or legacy
 
         if 'override.hint' in files:
             # read override.hint
diff --git a/test/testdata/uploads/pkglist.expected b/test/testdata/uploads/pkglist.expected
index f36b2a4..0e4c587 100644
--- a/test/testdata/uploads/pkglist.expected
+++ b/test/testdata/uploads/pkglist.expected
@@ -6,11 +6,11 @@
                     'Like it’s you’re Markup Language™ Nokogiri’s tool―that '
                     'Bézier."',
            'category': 'Devel',
-           'requires': 'cygwin'}}, {}, False),
+           'requires': 'cygwin'}}, {'curr': None, 'prev': None, 'test': None}, False),
  'testpackage-subpackage': Package('x86/release/testpackage/testpackage-subpackage', {'testpackage-subpackage-1.0-1.tar.bz2': Tar('aff488008bee3486e25b539fe6ccd1397bd3c5c0ba2ee2cf34af279554baa195af7493ee51d6f8510735c9a2ea54436d776a71e768165716762aec286abbbf83', 195, False)}, {'1.0-1': {'sdesc': '"A test subpackage"',
            'ldesc': '"A test subpackage"',
            'category': 'Devel',
-           'external-source': 'testpackage'}}, {}, False),
+           'external-source': 'testpackage'}}, {'curr': None, 'prev': None, 'test': None}, False),
  'testpackage2-subpackage': Package('x86/release/testpackage2/testpackage2-subpackage', {'testpackage2-subpackage-1.0-1.tar.bz2': Tar('6de201dfed1d45412509c65deb34690dc2d09c6aafccfe491fd2f440f92842b9c755b61dc7bcdd4cc0c9f18cf46c2b3a1241e99c4c2a33fff5555e7b2f0b6348', 14, True)}, {'1.0-1': {'sdesc': '"A test subpackage 2"',
            'ldesc': '"A test subpackage 2"',
-           'category': 'Devel'}}, {}, False)}
+           'category': 'Devel'}}, {'curr': None, 'prev': None, 'test': None}, False)}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-18 16:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-18 16:07 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-36-g6f14430 jturney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).