Fruit partly ripe, a raspberry (4)
I believe the answer is:
pear
'fruit' is the definition.
(pear is a kind of fruit)
'partly ripe a raspberry' is the wordplay.
'partly' indicates a hidden word.
'PEAR' can be found hidden inside 'ripe a raspberry'.
(Other definitions for pear that I've seen before include "Shapely fruit?" , "Fruit sounds like two of a kind" , "Brand" , "Tasty fruit that tapers towards the stalk" , "One fruit sounds like two" .)