<86>Apr 14 01:09:54 userdel[79662]: delete user 'rooter' <86>Apr 14 01:09:54 userdel[79662]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:09:54 userdel[79662]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:09:54 groupadd[79711]: group added to /etc/group: name=rooter, GID=657 <86>Apr 14 01:09:54 groupadd[79711]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:09:54 groupadd[79711]: new group: name=rooter, GID=657 <86>Apr 14 01:09:54 useradd[79769]: new user: name=rooter, UID=657, GID=657, home=/root, shell=/bin/bash <86>Apr 14 01:09:54 userdel[79829]: delete user 'builder' <86>Apr 14 01:09:54 userdel[79829]: removed group 'builder' owned by 'builder' <86>Apr 14 01:09:54 userdel[79829]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:09:54 groupadd[79867]: group added to /etc/group: name=builder, GID=658 <86>Apr 14 01:09:54 groupadd[79867]: group added to /etc/gshadow: name=builder <86>Apr 14 01:09:54 groupadd[79867]: new group: name=builder, GID=658 <86>Apr 14 01:09:54 useradd[79891]: new user: name=builder, UID=658, GID=658, home=/usr/src, shell=/bin/bash <13>Apr 14 01:09:57 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:09:57 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Apr 14 01:09:57 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Apr 14 01:09:57 rpmi: libopenblas-0.2.14-alt1.git20150324 1433158855 installed <13>Apr 14 01:09:57 rpmi: libwayland-server-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:09:57 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:09:57 rpmi: libjasper-1.900.1-alt3 1391718482 installed <13>Apr 14 01:09:57 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Apr 14 01:09:57 rpmi: libnumpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:09:57 rpmi: libxblas-1.0.248-alt1 1322010716 installed <13>Apr 14 01:09:57 rpmi: libgtk+2-locales-2.24.31-alt1 1473461664 installed <13>Apr 14 01:09:57 rpmi: libquadmath0-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:09:57 rpmi: libgfortran3-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:09:57 rpmi: liblapack-1:3.5.0-alt1 1401382194 installed <13>Apr 14 01:09:57 rpmi: libdatrie-0.2.8-alt1_5 1410185969 installed <13>Apr 14 01:09:57 rpmi: libthai-0.1.24-alt1_1 1459282110 installed <13>Apr 14 01:09:57 rpmi: libpixman-3:0.32.8-alt1 1447610691 installed <13>Apr 14 01:09:57 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 14 01:09:57 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 01:09:58 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 01:09:58 rpmi: libsystemd-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 01:09:58 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 01:09:58 rpmi: libavahi-0.6.31-alt7.M80P.1 1526318593 installed <13>Apr 14 01:09:58 rpmi: libatk-locales-2.24.0-alt0.M80P.1 1504535386 installed <13>Apr 14 01:09:58 rpmi: libatk-2.24.0-alt0.M80P.1 1504535253 installed <13>Apr 14 01:09:58 rpmi: libgraphite2-1.3.10-alt0.M80P.1 1496411360 installed <13>Apr 14 01:09:58 rpmi: libwayland-client-1.14.0-alt0.M80P.1 1502720500 installed <13>Apr 14 01:09:58 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 14 01:09:58 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 14 01:09:58 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 14 01:09:58 rpmi: libgbm-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:09:58 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 01:09:58 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 01:09:58 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 01:09:58 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 01:09:58 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 01:09:58 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 14 01:09:58 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 01:09:58 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 14 01:09:58 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 14 01:09:58 rpmi: libXcursor-1.1.15-alt1.M80P.1 1512373713 installed <13>Apr 14 01:09:58 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 14 01:09:58 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 14 01:09:58 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:09:58 rpmi: libEGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 01:09:58 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 14 01:09:58 rpmi: libXinerama-1.1.3-alt1 1369984571 installed <13>Apr 14 01:09:58 rpmi: libXcomposite-0.4.3-alt3 1297306939 installed <13>Apr 14 01:09:58 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Apr 14 01:09:58 rpmi: libgdk-pixbuf-locales-2.36.11-alt0.M80P.1 1507198237 installed <13>Apr 14 01:09:58 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Apr 14 01:09:58 rpmi: shared-mime-info-1.9-alt0.M80P.1 1506021412 installed <13>Apr 14 01:09:58 rpmi: gsettings-desktop-schemas-data-3.24.1-alt0.M80P.1 1504768054 installed <13>Apr 14 01:09:58 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:09:58 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:09:58 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:58 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:09:58 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:09:58 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:09:58 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:09:58 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:09:58 rpmi: libgio-2.52.3-alt0.M80P.1 1504533271 installed <13>Apr 14 01:09:58 rpmi: libgdk-pixbuf-2.36.11-alt0.M80P.1 1507198160 installed <13>Apr 14 01:09:58 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:09:58 rpmi: libharfbuzz-1.6.3-alt0.M80P.1 1509918814 installed <13>Apr 14 01:09:58 rpmi: libfreetype-2.8-alt0.M80P.3 1505462817 installed <13>Apr 14 01:09:58 rpmi: fontconfig-2.12.6-alt1.M80P.1 1506008910 installed Updating fonts cache: <29>Apr 14 01:09:59 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Apr 14 01:09:59 rpmi: libcairo-1:1.14.4-alt1 1447005495 installed <86>Apr 14 01:09:59 groupadd[102059]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:09:59 groupadd[102059]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:09:59 groupadd[102059]: new group: name=_keytab, GID=499 <13>Apr 14 01:09:59 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:09:59 rpmi: libcups-2.1.0-alt2.M80P.4 p8+223280.100.1.1 1551372192 installed <13>Apr 14 01:09:59 rpmi: libXft-2.3.2-alt1 1409902650 installed <13>Apr 14 01:09:59 rpmi: libpango-1.40.14-alt0.M80P.1 1510824230 installed <13>Apr 14 01:09:59 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461609 installed <13>Apr 14 01:10:00 rpmi: libgtk+2-2.24.31-alt1 1473461609 installed <13>Apr 14 01:10:00 rpmi: gsettings-desktop-schemas-3.24.1-alt0.M80P.1 1504768052 installed <13>Apr 14 01:10:00 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:10:00 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:10:00 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:00 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:10:00 rpmi: python3-module-Reportlab-3.4.0-alt1.M80P.1 1522399339 installed <13>Apr 14 01:10:00 rpmi: python3-module-pygobject-2.28.6-alt10.1.1 1460077653 installed <13>Apr 14 01:10:00 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:10:00 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:10:01 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:10:01 rpmi: python3-module-fonttools-2.5-alt1.git20140824.1.1 1458153961 installed <13>Apr 14 01:10:01 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:10:01 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:10:01 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-module-Reportlab-3.4.0-alt1.M80P.1 1522399339 installed <13>Apr 14 01:10:01 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:10:01 rpmi: python-module-pygobject-2.28.6-alt4 1459475899 installed <13>Apr 14 01:10:01 rpmi: python-module-pycairo-1.13.3-alt0.M80P.1 1504561359 installed <13>Apr 14 01:10:01 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:01 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:10:01 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:10:02 rpmi: python-module-numpy-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:10:02 rpmi: python-module-pygtk-2.24.0-alt6 1380567721 installed <13>Apr 14 01:10:02 rpmi: python-module-numpy-testing-1:1.12.1-alt0.M80P.1 1496160663 installed <13>Apr 14 01:10:02 rpmi: python-module-fonttools-3.0-alt1 1447770663 installed <13>Apr 14 01:10:02 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:10:02 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed Installing python-module-ttfquery-1.0.5-alt1.bzr20120206.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.30581 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-ttfquery-1.0.5 + echo 'Source #0 (python-module-ttfquery-1.0.5.tar):' Source #0 (python-module-ttfquery-1.0.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-ttfquery-1.0.5.tar + cd python-module-ttfquery-1.0.5 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/ttfquery/ttfmetadata.py RefactoringTool: Refactored ../python3/ttfquery/ttfgroups.py RefactoringTool: Refactored ../python3/ttfquery/ttffiles.py --- ../python3/ttfquery/ttfmetadata.py (original) +++ ../python3/ttfquery/ttfmetadata.py (refactored) @@ -5,10 +5,10 @@ import sys, os def printMetaData( metadata ): - print ' Specific Name:', metadata[2] - print ' File:', metadata[0] - print ' Modifiers:', metadata[1] - print ' Family Name:', ", ".join(metadata[4]) + print(' Specific Name:', metadata[2]) + print(' File:', metadata[0]) + print(' Modifiers:', metadata[1]) + print(' Family Name:', ", ".join(metadata[4])) def main(): usage ="""metadata_query name @@ -25,7 +25,7 @@ fontNames = registry.matchName( name ) fontNames.sort() for general in fontNames: - print 'Font:', general + print('Font:', general) specifics = registry.fontMembers( general ) specifics.sort() for specific in specifics: --- ../python3/ttfquery/ttfgroups.py (original) +++ ../python3/ttfquery/ttfgroups.py (refactored) @@ -28,19 +28,19 @@ for filename in filenames: try: font = describe.openFont(filename) - except Exception, err: + except Exception as err: if failureCallback: failureCallback( filename, 0, err ) else: try: modifiers = describe.modifiers( font ) - except (KeyError,AttributeError), err: + except (KeyError,AttributeError) as err: if failureCallback: failureCallback( filename, 1, err ) modifiers = (None,None) try: specificName, fontName = describe.shortName( font ) - except (KeyError,AttributeError), err: + except (KeyError,AttributeError) as err: if failureCallback: failureCallback( filename, 2, err ) else: @@ -75,18 +75,18 @@ files = None table = buildTable(files, failureCallback=interactiveCallback) t = time.clock()-t - keys = table.keys() + keys = list(table.keys()) keys.sort() for fam in keys: - print '_________________________' - print fam - fnts = table[fam].items() + print('_________________________') + print(fam) + fnts = list(table[fam].items()) fnts.sort() for fnt,modset in fnts: - mods = modset.keys() + mods = list(modset.keys()) mods.sort() mods = ",".join([ '%s%s'%( w, ['','(I)'][i&1]) for (w,i) in mods]) - print ' ',fnt.ljust(32), '--', mods + print(' ',fnt.ljust(32), '--', mods) log.info( 'Scan took %s seconds CPU time', t ) if __name__ == "__main__": --- ../python3/ttfquery/ttffiles.py (original) +++ ../python3/ttfquery/ttffiles.py (refactored) @@ -8,11 +8,11 @@ because of this, but it's not ideal. """ from ttfquery import describe, findsystem -import cPickle, time, traceback, os, sys +import pickle, time, traceback, os, sys import logging log =logging.getLogger( __name__ ) -FILENAME, MODIFIERS, SPECIFICNAME, FONTNAME, FAMILY = range(5) +FILENAME, MODIFIERS, SPECIFICNAME, FONTNAME, FAMILY = list(range(5)) class Registry(object): """Object providing centralized registration of TTF files @@ -83,12 +83,12 @@ in the font file. """ filename = os.path.abspath( filename ) - if self.files.has_key( filename ) and not force: + if filename in self.files and not force: return self.specificFonts.get( self.files[filename] ) font = describe.openFont(filename) try: modifiers = describe.modifiers( font ) - except (KeyError,AttributeError), err: + except (KeyError,AttributeError) as err: modifiers = (None,None) specificName, fontName = describe.shortName( font ) specifier = describe.family(font) @@ -118,7 +118,7 @@ have the meta-data for the file loaded. """ filename = os.path.abspath( filename ) - if self.files.has_key( filename ) and not force: + if filename in self.files and not force: return self.specificFonts.get( self.files[filename] ) self.dirty(1) if modifiers == None: @@ -132,7 +132,7 @@ self.specificFonts[ specificName ] = description self.shortFiles.setdefault(os.path.basename(filename), []).append( filename ) except Exception: - if self.files.has_key(filename): + if filename in self.files: del self.files[filename] raise return description @@ -142,11 +142,11 @@ major = major.upper() if not minor: result = [] - for key,set in self.families.get(major,{}).items(): - result.extend( set.keys()) + for key,set in list(self.families.get(major,{}).items()): + result.extend( list(set.keys())) return result minor = minor.upper() - return self.families.get( major, {}).get(minor,{}).keys() + return list(self.families.get( major, {}).get(minor,{}).keys()) def fontMembers( self, fontName, weight=None, italics=None ): """Get specific font names for given generic font name @@ -156,7 +156,7 @@ returns list of specific font names """ table = self.fonts.get( fontName, {}) - items = table.items() + items = list(table.items()) items.sort() if weight is not None: weight = describe.weightNumber( weight ) @@ -169,7 +169,7 @@ return result def fontForms( self, fontName ): """Retrieve the set of font-forms (weight,italics) available in a font""" - return self.fonts.get( fontName, {}).keys() + return list(self.fonts.get( fontName, {}).keys()) def fontFile( self, specificName ): """Return the absolute path-name for a given specific font""" @@ -182,30 +182,30 @@ def matchName( self, name, single=0 ): """Try to find a general font based on a name""" result = {} - if self.fonts.has_key( name ): + if name in self.fonts: v = name if single: return v else: result[v] = 1 - if self.specificFonts.has_key( name ): + if name in self.specificFonts: v = self.specificFonts[name][FONTNAME] if single: return v else: result[v] = 1 - if self.families.has_key( name.upper() ): + if name.upper() in self.families: for general in self.familyMembers( name ): if single: return general result[general] = 1 testname = name.lower() - for specific in self.specificFonts.keys(): + for specific in list(self.specificFonts.keys()): if specific.lower().find( testname ) > -1: if single: return specific result[ self.specificFonts[specific][FONTNAME]]=1 - for majorFamily in self.families.keys(): + for majorFamily in list(self.families.keys()): if majorFamily.lower().find( testname ) > -1: for item in self.familyMembers( majorFamily ): if single: @@ -214,7 +214,7 @@ else: # if previous was true, we already included everything # that could be included here... - for minorFamily in self.families[majorFamily].keys(): + for minorFamily in list(self.families[majorFamily].keys()): if minorFamily.lower().find( testname ) > -1: for item in self.familyMembers( majorFamily, minorFamily ): if single: @@ -222,7 +222,7 @@ result[item] = 1 if not result: raise KeyError( """Couldn't find a font with name %r"""%(name,)) - return result.keys() + return list(result.keys()) def save(RefactoringTool: Refactored ../python3/ttfquery/ttffamily.py RefactoringTool: Refactored ../python3/ttfquery/guessdescription.py RefactoringTool: No changes to ../python3/ttfquery/glyphquery.py RefactoringTool: Refactored ../python3/ttfquery/glyph.py RefactoringTool: Refactored ../python3/ttfquery/findsystem.py self, file= None, force=0 ): """Attempt to save the font metadata to a pickled file @@ -240,7 +240,7 @@ raise TypeError( """Attempted to save %r to default file, no default file specified"""% (self,)) if not hasattr( file, 'write'): file = open( file, 'wb' ) - cPickle.dump( self.specificFonts.values(), file, 1 ) + pickle.dump( list(self.specificFonts.values()), file, 1 ) return len(self.specificFonts) def load( self, file, clearFirst=1 ): """Attempt to load the font metadata from a pickled file @@ -254,7 +254,7 @@ if not hasattr( file, 'read'): self.filename = file file = open( file, 'rb' ) - table = cPickle.load( file ) + table = pickle.load( file ) for filename, modifiers, specificName, fontName, familySpecifier in table: ## Minimal sanity check... if os.path.isfile( filename ): @@ -269,7 +269,7 @@ for filename in findsystem.findFonts(paths): try: self.register( filename, force = force ) - except Exception, err: + except Exception as err: log.info( 'Failure scanning %s', filename ) if printErrors: log.warn( "%s", traceback.format_exc()) --- ../python3/ttfquery/ttffamily.py (original) +++ ../python3/ttfquery/ttffamily.py (refactored) @@ -21,9 +21,9 @@ log.error( "Need a font-family name" ) return 1 for fontName in registry.familyMembers( major, minor ): - print 'F', fontName + print('F', fontName) for specific in registry.fontMembers( fontName ): - print ' ', registry.fontFile( specific ) + print(' ', registry.fontFile( specific )) return 0 if __name__ == "__main__": --- ../python3/ttfquery/guessdescription.py (original) +++ ../python3/ttfquery/guessdescription.py (refactored) @@ -118,17 +118,17 @@ style = tstyle set = SYSTEM_FONTS.get( name ) if set: - if set.has_key( style ): + if style in set: return set[style] # try match on italics - for key, value in set.items(): + for key, value in list(set.items()): if key[1] == style[1]: return value # try match on weight - for key, value in set.items(): + for key, value in list(set.items()): if key[0] == style[0]: return value # well, there's at least one font here, use it... - for key, value in set.items(): + for key, value in list(set.items()): return value return None --- ../python3/ttfquery/glyph.py (original) +++ ../python3/ttfquery/glyph.py (refactored) @@ -118,12 +118,15 @@ if len(contour)<3: return () set = contour[:] - def on( ((Ax,Ay),Af) ): + def on(xxx_todo_changeme ): """Is this record on the contour?""" + ((Ax,Ay),Af) = xxx_todo_changeme return Af==1 - def merge( ((Ax,Ay),Af), ((Bx,By),Bf)): + def merge(xxx_todo_changeme1, xxx_todo_changeme2): """Merge two off-point records into an on-point record""" + ((Ax,Ay),Af) = xxx_todo_changeme1 + ((Bx,By),Bf) = xxx_todo_changeme2 return (((Ax+Bx)/2.0),((Ay+By))/2.0),1 # create an expanded set so that all adjacent # off-curve items have an on-curve item added --- ../python3/ttfquery/findsystem.py (original) +++ ../python3/ttfquery/findsystem.py (refactored) @@ -4,23 +4,23 @@ def win32FontDirectory( ): """Get User-specific font directory on Win32""" try: - import _winreg + import winreg except ImportError: return os.path.join(os.environ['WINDIR'], 'Fonts') else: - k = _winreg.OpenKey( - _winreg.HKEY_CURRENT_USER, + k = winreg.OpenKey( + winreg.HKEY_CURRENT_USER, r"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" ) try: # should check that k is valRefactoringTool: Refactored ../python3/ttfquery/describe.py id? How? - return _winreg.QueryValueEx( k, "Fonts" )[0] + return winreg.QueryValueEx( k, "Fonts" )[0] finally: - _winreg.CloseKey( k ) + winreg.CloseKey( k ) def win32InstalledFonts( fontDirectory = None ): """Get list of explicitly *installed* font names""" - import _winreg + import winreg if fontDirectory is None: fontDirectory = win32FontDirectory() k = None @@ -30,27 +30,27 @@ r"SOFTWARE\Microsoft\Windows\CurrentVersion\Fonts", ): try: - k = _winreg.OpenKey( - _winreg.HKEY_LOCAL_MACHINE, + k = winreg.OpenKey( + winreg.HKEY_LOCAL_MACHINE, keyName ) - except OSError, err: + except OSError as err: pass if not k: # couldn't open either WinNT or Win98 key??? return glob.glob( os.path.join(fontDirectory, '*.ttf')) try: # should check that k is valid? How? - for index in range( _winreg.QueryInfoKey(k)[1]): - key,value,_ = _winreg.EnumValue( k, index ) + for index in range( winreg.QueryInfoKey(k)[1]): + key,value,_ = winreg.EnumValue( k, index ) if not os.path.dirname( value ): value = os.path.join( fontDirectory, value ) value = os.path.abspath( value ).lower() if value[-4:] == '.ttf': items[ value ] = 1 - return items.keys() + return list(items.keys()) finally: - _winreg.CloseKey( k ) + winreg.CloseKey( k ) def linuxFontDirectories( ): @@ -124,13 +124,13 @@ files[f] = 1 else: paths = linuxFontDirectories() - elif isinstance( paths, (str, unicode)): + elif isinstance( paths, str): paths = [paths] for path in paths: for file in glob.glob( os.path.join(path, '*.ttf')): files[os.path.abspath(file)] = 1 - return files.keys() + return list(files.keys()) if __name__ == "__main__": - print 'linux font directories', linuxFontDirectories() - print 'font names', findFonts() + print('linux font directories', linuxFontDirectories()) + print('font names', findFonts()) --- ../python3/ttfquery/describe.py (original) +++ ../python3/ttfquery/describe.py (refactored) @@ -8,7 +8,7 @@ def openFont( filename ): """Get a new font object""" - if isinstance( filename, (str,unicode)): + if isinstance( filename, str): filename = open( filename, 'rb') return ttLib.TTFont(filename) @@ -21,12 +21,12 @@ for record in font['name'].names: if record.nameID == FONT_SPECIFIER_NAME_ID and not name: if '\000' in record.string: - name = unicode(record.string, 'utf-16-be').encode('utf-8') + name = str(record.string, 'utf-16-be').encode('utf-8') else: name = record.string elif record.nameID == FONT_SPECIFIER_FAMILY_ID and not family: if '\000' in record.string: - family = unicode(record.string, 'utf-16-be').encode('utf-8') + family = str(record.string, 'utf-16-be').encode('utf-8') else: family = record.string if name and family: @@ -144,12 +144,12 @@ 'heavy':900, } WEIGHT_NUMBERS = {} -for key,value in WEIGHT_NAMES.items(): +for key,value in list(WEIGHT_NAMES.items()): WEIGHT_NUMBERS.setdefault(value,[]).append(key) def weightNumber( name ): """Convert a string-name to a weight number compatible with this module""" - if isinstance( name, (str,unicode)): + if isinstance( name, str): name = name.lower() name = name.replace( '-','').replace(' ','') if name and name[-1] == '+': @@ -167,7 +167,7 @@ def weightName( number ): """Convert integer number to a human-readable weight-name""" number = int(number) or 400 - if WEIGHT_NUMBERS.has_key( number ): + if number in WEIGHT_NUMBERS: return WRefactoringTool: Refactored ../python3/ttfquery/_scriptregistry.py RefactoringTool: No changes to ../python3/ttfquery/__init__.py RefactoringTool: Refactored ../python3/setup.py RefactoringTool: Refactored ../python3/doc/conf.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/ttfquery/ttfmetadata.py RefactoringTool: ../python3/ttfquery/ttfgroups.py RefactoringTool: ../python3/ttfquery/ttffiles.py RefactoringTool: ../python3/ttfquery/ttffamily.py RefactoringTool: ../python3/ttfquery/guessdescription.py RefactoringTool: ../python3/ttfquery/glyphquery.py RefactoringTool: ../python3/ttfquery/glyph.py RefactoringTool: ../python3/ttfquery/findsystem.py RefactoringTool: ../python3/ttfquery/describe.py RefactoringTool: ../python3/ttfquery/_scriptregistry.py RefactoringTool: ../python3/ttfquery/__init__.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/doc/conf.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ../python3/ttfquery/glyph.py ### RefactoringTool: Line 84: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence RefactoringTool: Line 84: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence RefactoringTool: Line 76: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence RefactoringTool: Line 76: cannot convert map(None, ...) with multiple arguments because map() now truncates to the shortest sequence EIGHT_NUMBERS[number] name = 'thin-' for x in range(100,1000, 100): @@ -260,7 +260,7 @@ else: # treat as a single integer, regardless of number of integer's given = given[0] - if isinstance( given, (int, long)): + if isinstance( given, int): for table in font['cmap'].tables: if table.platformID == given: return (table.platformID, table.platEncID) --- ../python3/ttfquery/_scriptregistry.py (original) +++ ../python3/ttfquery/_scriptregistry.py (refactored) @@ -11,7 +11,7 @@ log = logging.getLogger( __name__ ) ### more robust registry-file location by John Hunter... -if os.environ.has_key('HOME'): +if 'HOME' in os.environ: registryFile = os.path.join( os.environ['HOME'], ".font.cache") else: # OpenGLContext uses the Application Data directory for win32, --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -8,7 +8,7 @@ import sys,os, string try: from setuptools import setup -except ImportError, err: +except ImportError as err: from distutils.core import setup from sys import hexversion --- ../python3/doc/conf.py (original) +++ ../python3/doc/conf.py (refactored) @@ -40,8 +40,8 @@ master_doc = 'index' # General information about the project. -project = u'TTFQuery' -copyright = u'2012, Mike C. Fletcher' +project = 'TTFQuery' +copyright = '2012, Mike C. Fletcher' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -187,8 +187,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'TTFQuery.tex', u'TTFQuery Documentation', - u'Mike C. Fletcher', 'manual'), + ('index', 'TTFQuery.tex', 'TTFQuery Documentation', + 'Mike C. Fletcher', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -217,8 +217,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'ttfquery', u'TTFQuery Documentation', - [u'Mike C. Fletcher'], 1) + ('index', 'ttfquery', 'TTFQuery Documentation', + ['Mike C. Fletcher'], 1) ] # If true, show URL addresses after external links. @@ -231,8 +231,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'TTFQuery', u'TTFQuery Documentation', - u'Mike C. Fletcher', 'TTFQuery', 'One line description of project.', + ('index', 'TTFQuery', 'TTFQuery Documentation', + 'Mike C. Fletcher', 'TTFQuery', 'One line description of project.', 'Miscellaneous'), ] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37684 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-ttfquery-1.0.5 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/ttfquery copying ttfquery/ttfmetadata.py -> build/lib/ttfquery copying ttfquery/ttfgroups.py -> build/lib/ttfquery copying ttfquery/ttffiles.py -> build/lib/ttfquery copying ttfquery/ttffamily.py -> build/lib/ttfquery copying ttfquery/guessdescription.py -> build/lib/ttfquery copying ttfquery/glyphquery.py -> build/lib/ttfquery copying ttfquery/glyph.py -> build/lib/ttfquery copying ttfquery/findsystem.py -> build/lib/ttfquery copying ttfquery/describe.py -> build/lib/ttfquery copying ttfquery/_scriptregistry.py -> build/lib/ttfquery copying ttfquery/__init__.py -> build/lib/ttfquery running build_scripts creating build/scripts-2.7 copying and adjusting bin/ttffiles -> build/scripts-2.7 copying and adjusting bin/ttffamily -> build/scripts-2.7 copying and adjusting bin/ttfgroups -> build/scripts-2.7 copying and adjusting bin/ttfmetadata -> build/scripts-2.7 changing mode of build/scripts-2.7/ttffiles from 644 to 755 changing mode of build/scripts-2.7/ttffamily from 644 to 755 changing mode of build/scripts-2.7/ttfgroups from 644 to 755 changing mode of build/scripts-2.7/ttfmetadata from 644 to 755 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-ttfquery-1.0.5 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/ttfquery copying ttfquery/ttfmetadata.py -> build/lib/ttfquery copying ttfquery/ttfgroups.py -> build/lib/ttfquery copying ttfquery/ttffiles.py -> build/lib/ttfquery copying ttfquery/ttffamily.py -> build/lib/ttfquery copying ttfquery/guessdescription.py -> build/lib/ttfquery copying ttfquery/glyphquery.py -> build/lib/ttfquery copying ttfquery/glyph.py -> build/lib/ttfquery copying ttfquery/findsystem.py -> build/lib/ttfquery copying ttfquery/describe.py -> build/lib/ttfquery copying ttfquery/_scriptregistry.py -> build/lib/ttfquery copying ttfquery/__init__.py -> build/lib/ttfquery running build_scripts creating build/scripts-3.5 copying and adjusting bin/ttffiles -> build/scripts-3.5 copying and adjusting bin/ttffamily -> build/scripts-3.5 copying and adjusting bin/ttfgroups -> build/scripts-3.5 copying and adjusting bin/ttfmetadata -> build/scripts-3.5 changing mode of build/scripts-3.5/ttffiles from 644 to 755 changing mode of build/scripts-3.5/ttffamily from 644 to 755 changing mode of build/scripts-3.5/ttfgroups from 644 to 755 changing mode of build/scripts-3.5/ttfmetadata from 644 to 755 + popd ~/RPM/BUILD/python-module-ttfquery-1.0.5 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.95969 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-ttfquery-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-ttfquery-buildroot + cd python-module-ttfquery-1.0.5 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-ttfquery-1.0.5 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-ttfquery-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-ttfquery-buildroot creating /usr/src/tmp/python-module-ttfquery-buildroot/usr creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/__init__.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/_scriptregistry.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/describe.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/findsystem.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/glyph.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/glyphquery.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/guessdescription.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/ttffamily.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/ttffiles.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/ttfgroups.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery copying build/lib/ttfquery/ttfmetadata.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/_scriptregistry.py to _scriptregistry.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/describe.py to describe.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/findsystem.py to findsystem.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyph.py to glyph.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyphquery.py to glyphquery.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/guessdescription.py to guessdescription.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffamily.py to ttffamily.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffiles.py to ttffiles.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfgroups.py to ttfgroups.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfmetadata.py to ttfmetadata.cpython-35.pyc running install_egg_info running egg_info creating TTFQuery.egg-info writing dependency_links to TTFQuery.egg-info/dependency_links.txt writing TTFQuery.egg-info/PKG-INFO writing top-level names to TTFQuery.egg-info/top_level.txt writing manifest file 'TTFQuery.egg-info/SOURCES.txt' reading manifest file 'TTFQuery.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*CVS*' found anywhere in distribution warning: no previously-included files matching '*Cvs*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution warning: no previously-included files matching '*.ttf' found anywhere in distribution warning: no previously-included files matching '*.cache' found anywhere in distribution warning: no previously-included files matching '*.bat' found anywhere in distribution writing manifest file 'TTFQuery.egg-info/SOURCES.txt' Copying TTFQuery.egg-info to /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.5.egg-info running install_scripts creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin copying build/scripts-3.5/ttfmetadata -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin copying build/scripts-3.5/ttfgroups -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin copying build/scripts-3.5/ttffamily -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin copying build/scripts-3.5/ttffiles -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfmetadata to 755 changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfgroups to 755 changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffamily to 755 changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffiles to 755 + popd ~/RPM/BUILD/python-module-ttfquery-1.0.5 + pushd /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin ~/tmp/python-module-ttfquery-buildroot/usr/bin ~/RPM/BUILD/python-module-ttfquery-1.0.5 ++ ls + for i in '$(ls)' + mv ttffamily ttffamily.py3 + for i in '$(ls)' + mv ttffiles ttffiles.py3 + for i in '$(ls)' + mv ttfgroups ttfgroups.py3 + for i in '$(ls)' + mv ttfmetadata ttfmetadata.py3 + popd ~/RPM/BUILD/python-module-ttfquery-1.0.5 + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-ttfquery-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/__init__.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/_scriptregistry.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/describe.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/findsystem.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/glyph.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/glyphquery.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/guessdescription.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/ttffamily.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/ttffiles.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/ttfgroups.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery copying build/lib/ttfquery/ttfmetadata.py -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.py to _scriptregistry.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/describe.py to describe.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/findsystem.py to findsystem.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyph.py to glyph.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyphquery.py to glyphquery.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/guessdescription.py to guessdescription.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffamily.py to ttffamily.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffiles.py to ttffiles.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.py to ttfgroups.pyc byte-compiling /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.py to ttfmetadata.pyc running install_egg_info running egg_info creating TTFQuery.egg-info writing TTFQuery.egg-info/PKG-INFO writing top-level names to TTFQuery.egg-info/top_level.txt writing dependency_links to TTFQuery.egg-info/dependency_links.txt writing manifest file 'TTFQuery.egg-info/SOURCES.txt' reading manifest file 'TTFQuery.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*CVS*' found anywhere in distribution warning: no previously-included files matching '*Cvs*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution warning: no previously-included files matching '*.ttf' found anywhere in distribution warning: no previously-included files matching '*.cache' found anywhere in distribution warning: no previously-included files matching '*.bat' found anywhere in distribution writing manifest file 'TTFQuery.egg-info/SOURCES.txt' Copying TTFQuery.egg-info to /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/TTFQuery-1.0.5-py2.7.egg-info running install_scripts copying build/scripts-2.7/ttfmetadata -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin copying build/scripts-2.7/ttfgroups -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin copying build/scripts-2.7/ttffamily -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin copying build/scripts-2.7/ttffiles -> /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfmetadata to 755 changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfgroups to 755 changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffamily to 755 changing mode of /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffiles to 755 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-ttfquery-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-ttfquery-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-ttfquery-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-ttfquery-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-ttfquery-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-ttfquery-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/__init__.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/describe.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/findsystem.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyph.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyphquery.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/guessdescription.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffamily.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffiles.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.pyc compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/__init__.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/describe.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/findsystem.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyph.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyphquery.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/guessdescription.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffamily.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffiles.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-ttfquery-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/__init__.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/describe.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/findsystem.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyph.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyphquery.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/guessdescription.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffamily.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffiles.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.py Bytecompiling python3 modules in /usr/src/tmp/python-module-ttfquery-buildroot using python3 unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/describe.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/glyph.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-35.pyc unlink /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-35.pyc compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__init__.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/_scriptregistry.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/describe.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/findsystem.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyph.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyphquery.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/guessdescription.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffamily.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffiles.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfgroups.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfmetadata.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-ttfquery-buildroot using python3 -O compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__init__.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/_scriptregistry.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/describe.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/findsystem.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyph.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyphquery.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/guessdescription.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffamily.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffiles.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfgroups.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfmetadata.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-ttfquery-buildroot using python3 -OO compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/__init__.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/_scriptregistry.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/describe.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/findsystem.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyph.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyphquery.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/guessdescription.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffamily.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffiles.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfgroups.py compile /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfmetadata.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-35.pyc' './usr/lib/python3/site-packages/ttfquery/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/ttfquery/__pycache__/__init__.cpython-35.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.pyo' => './usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.pyc' './usr/lib/python2.7/site-packages/ttfquery/ttfgroups.pyo' => './usr/lib/python2.7/site-packages/ttfquery/ttfgroups.pyc' './usr/lib/python2.7/site-packages/ttfquery/ttffiles.pyo' => './usr/lib/python2.7/site-packages/ttfquery/ttffiles.pyc' './usr/lib/python2.7/site-packages/ttfquery/ttffamily.pyo' => './usr/lib/python2.7/site-packages/ttfquery/ttffamily.pyc' './usr/lib/python2.7/site-packages/ttfquery/guessdescription.pyo' => './usr/lib/python2.7/site-packages/ttfquery/guessdescription.pyc' './usr/lib/python2.7/site-packages/ttfquery/glyphquery.pyo' => './usr/lib/python2.7/site-packages/ttfquery/glyphquery.pyc' './usr/lib/python2.7/site-packages/ttfquery/findsystem.pyo' => './usr/lib/python2.7/site-packages/ttfquery/findsystem.pyc' './usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.pyo' => './usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.pyc' './usr/lib/python2.7/site-packages/ttfquery/__init__.pyo' => './usr/lib/python2.7/site-packages/ttfquery/__init__.pyc' Processing files: python-module-ttfquery-1.0.5-alt1.bzr20120206.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.95969 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-ttfquery-1.0.5 + DOCDIR=/usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python-module-ttfquery-1.0.5 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python-module-ttfquery-1.0.5 + /bin/mkdir -p /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python-module-ttfquery-1.0.5 + cp -prL license.txt doc/index.html /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python-module-ttfquery-1.0.5 + chmod -R go-w /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python-module-ttfquery-1.0.5 + chmod -R a+rX /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python-module-ttfquery-1.0.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h7EDxV find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ALV7PG find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffamily: skipping sys python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffamily: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffiles: skipping sys python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffiles: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfgroups: skipping sys python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfgroups: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfmetadata: skipping sys python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfmetadata: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/_scriptregistry.py: skipping sys python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/describe.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/describe.py: line=5 IGNORE (for REQ=slight and deep=8) module=OpenGLContext python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/findsystem.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/findsystem.py: line=7 IGNORE (for REQ=slight and deep=12) module=_winreg /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/findsystem.py: line=23 IGNORE (for REQ=slight and deep=8) module=_winreg python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyph.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyphquery.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/glyphquery.py: line=4 IGNORE (for REQ=slight and deep=8) module=OpenGLContext python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffamily.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffamily.py: skipping sys python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffiles.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffiles.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffiles.py: line=299 IGNORE (for REQ=slight and deep=8) module=sys python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.py: line=69 IGNORE (for REQ=slight and deep=8) module=time python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.py: hiding ttfquery, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.py: skipping sys shebang.req.files: executable script /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttffamily.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfgroups.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python2.7/site-packages/ttfquery/ttfmetadata.py is not executable Provides: python2.7-module-TTFQuery = 1.0.5-alt1.bzr20120206.1, python2.7(ttfquery), python2.7(ttfquery._scriptregistry), python2.7(ttfquery.describe), python2.7(ttfquery.findsystem), python2.7(ttfquery.glyph), python2.7(ttfquery.glyphquery), python2.7(ttfquery.guessdescription), python2.7(ttfquery.ttffamily), python2.7(ttfquery.ttffiles), python2.7(ttfquery.ttfgroups), python2.7(ttfquery.ttfmetadata) Requires: python = 2.7, /usr/bin/python2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(fontTools), python2.7(logging), python2.7(numpy) Processing files: python3-module-ttfquery-1.0.5-alt1.bzr20120206.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.85555 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-ttfquery-1.0.5 + DOCDIR=/usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python3-module-ttfquery-1.0.5 + export DOCDIR + rm -rf /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python3-module-ttfquery-1.0.5 + /bin/mkdir -p /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python3-module-ttfquery-1.0.5 + cp -prL license.txt doc/index.html /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python3-module-ttfquery-1.0.5 + chmod -R go-w /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python3-module-ttfquery-1.0.5 + chmod -R a+rX /usr/src/tmp/python-module-ttfquery-buildroot/usr/share/doc/python3-module-ttfquery-1.0.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tkS7qv find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CRngZm find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffamily.py3: skipping sys python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttffiles.py3: skipping sys python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfgroups.py3: skipping sys python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/bin/ttfmetadata.py3: skipping sys python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/_scriptregistry.py: skipping sys python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/describe.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/describe.py: line=5 IGNORE (for REQ=slight and deep=8) module=OpenGLContext python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/findsystem.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/findsystem.py: line=7 IGNORE (for REQ=slight and deep=12) module=winreg /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/findsystem.py: line=23 IGNORE (for REQ=slight and deep=8) module=winreg /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/glyphquery.py: line=4 IGNORE (for REQ=slight and deep=8) module=OpenGLContext python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffamily.py: skipping sys python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffiles.py: skipping time python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffiles.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffiles.py: line=299 IGNORE (for REQ=slight and deep=8) module=sys python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfgroups.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfgroups.py: line=69 IGNORE (for REQ=slight and deep=8) module=time python3.req: /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfmetadata.py: skipping sys shebang.req.files: executable script /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttffamily.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfgroups.py is not executable shebang.req.files: executable script /usr/src/tmp/python-module-ttfquery-buildroot/usr/lib/python3/site-packages/ttfquery/ttfmetadata.py is not executable Provides: python3(ttfquery), python3(ttfquery._scriptregistry), python3(ttfquery.describe), python3(ttfquery.findsystem), python3(ttfquery.glyph), python3(ttfquery.glyphquery), python3(ttfquery.guessdescription), python3(ttfquery.ttffamily), python3(ttfquery.ttffiles), python3(ttfquery.ttfgroups), python3(ttfquery.ttfmetadata), python3.3(ttfquery), python3.3(ttfquery._scriptregistry), python3.3(ttfquery.describe), python3.3(ttfquery.findsystem), python3.3(ttfquery.glyph), python3.3(ttfquery.glyphquery), python3.3(ttfquery.guessdescription), python3.3(ttfquery.ttffamily), python3.3(ttfquery.ttffiles), python3.3(ttfquery.ttfgroups), python3.3(ttfquery.ttfmetadata) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(fontTools) < 0, python3(glob) < 0, python3(logging) < 0, python3(numpy) < 0, python3(os) < 0, python3(pickle) < 0, python3(re) < 0, python3(traceback) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-ttfquery-1.0.5-alt1.bzr20120206.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-ttfquery-1.0.5-alt1.bzr20120206.1.noarch.rpm 4.14user 0.71system 0:08.48elapsed 57%CPU (0avgtext+0avgdata 28756maxresident)k 0inputs+0outputs (0major+267258minor)pagefaults 0swaps 11.15user 3.15system 0:20.13elapsed 71%CPU (0avgtext+0avgdata 124128maxresident)k 3904inputs+0outputs (0major+557029minor)pagefaults 0swaps --- python3-module-ttfquery-1.0.5-alt1.bzr20120206.1.noarch.rpm.repo 2016-03-16 16:32:10.000000000 +0000 +++ python3-module-ttfquery-1.0.5-alt1.bzr20120206.1.noarch.rpm.hasher 2019-04-14 01:10:12.801990196 +0000 @@ -4,7 +4,7 @@ /usr/bin/ttfmetadata.py3 100755 -/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.3.egg-info 40755 -/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.3.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.3.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.5.egg-info 40755 +/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.5.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/TTFQuery-1.0.5-py3.5.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/ttfquery 40755 @@ -12,22 +12,35 @@ /usr/lib/python3/site-packages/ttfquery/__pycache__ 40755 -/usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/describe.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/describe.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/glyph.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/glyph.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/_scriptregistry.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/describe.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/describe.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/describe.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/findsystem.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/glyph.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/glyph.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/glyph.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/glyphquery.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/guessdescription.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffamily.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttffiles.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfgroups.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/ttfquery/__pycache__/ttfmetadata.cpython-35.pyc 100644 /usr/lib/python3/site-packages/ttfquery/_scriptregistry.py 100644 @@ -47,11 +60,10 @@ Requires: /usr/lib/python3/site-packages -Requires: python3.3(fontTools) -Requires: python3.3(glob) -Requires: python3.3(logging) -Requires: python3.3(numpy) -Requires: python3.3(os) -Requires: python3.3(pickle) -Requires: python3.3(re) -Requires: python3.3(time) -Requires: python3.3(traceback) +Requires: python3(fontTools) < 0 +Requires: python3(glob) < 0 +Requires: python3(logging) < 0 +Requires: python3(numpy) < 0 +Requires: python3(os) < 0 +Requires: python3(pickle) < 0 +Requires: python3(re) < 0 +Requires: python3(traceback) < 0 Requires: rpmlib(PayloadIsLzma) @@ -64,3 +76,6 @@ Provides: python3(ttfquery.guessdescription) +Provides: python3(ttfquery.ttffamily) Provides: python3(ttfquery.ttffiles) +Provides: python3(ttfquery.ttfgroups) +Provides: python3(ttfquery.ttfmetadata) Provides: python3.3(ttfquery) @@ -72,3 +87,6 @@ Provides: python3.3(ttfquery.guessdescription) +Provides: python3.3(ttfquery.ttffamily) Provides: python3.3(ttfquery.ttffiles) +Provides: python3.3(ttfquery.ttfgroups) +Provides: python3.3(ttfquery.ttfmetadata) Provides: python3-module-ttfquery = 1.0.5-alt1.bzr20120206.1