Merge pull request #892 from Exiv2/mergify/bp/0.27-maintenance/pr-891

Add Tamron SP 70-300mm f/4-5.6 Di VC USD (Model: A030) (Nikon Mount) (bp #891)
This commit is contained in:
Luis Díaz Más 2019-05-27 08:44:58 +02:00 committed by GitHub
commit 9d3ce2e964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 0 deletions

View File

@ -2509,6 +2509,9 @@ fmountlens[] = {
// https://github.com/Exiv2/exiv2/issues/743
{0xc9,0x48,0x37,0x5c,0x24,0x24,0x4b,0x4e,0x01,0x00,0x00, "Sigma", "", "24-70mm F2,8 DG OS HSM Art"},
//
// https://github.com/Exiv2/exiv2/issues/598 , https://github.com/Exiv2/exiv2/pull/891
{0xCF,0x47,0x5C,0x8E,0x31,0x3D,0xDF,0x0E,0x00,0x00,0x00, "Tamron", "A030", "SP 70-300mm F/4-5.6 Di VC USD"},
//
{0,0,0,0,0,0,0,0,0,0,0, NULL, NULL, NULL}
};
//------------------------------------------------------------------------------

Binary file not shown.

View File

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
import system_tests
class NikonTamronLens_A030_70_300_F4_56(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/598"
filename = "$data_path/Tamron_SP70-300_F4-5.6_Di_VC_USD_A030.exv"
commands = ["$exiv2 -pa --grep lensid/i $filename"]
stderr = [""]
stdout = [""
"""Exif.NikonLd3.LensIDNumber Byte 1 Tamron SP 70-300mm F/4-5.6 Di VC USD
"""
]
retval = [0]